about summary refs log tree commit diff
path: root/elf/tst-deep1mod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-deep1mod2.c')
-rw-r--r--elf/tst-deep1mod2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/elf/tst-deep1mod2.c b/elf/tst-deep1mod2.c
new file mode 100644
index 0000000000..b99caf0328
--- /dev/null
+++ b/elf/tst-deep1mod2.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+extern int baz (void);
+extern int xyzzy (void);
+int
+bar (void)
+{
+  printf ("%s:%s\n", __FILE__, __func__);
+  return baz () + xyzzy ();;
+}
+
+int
+back (void)
+{
+  printf ("%s:%s\n", __FILE__, __func__);
+  return -1;
+}