summaryrefslogtreecommitdiff
path: root/elf/unload3mod4.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/unload3mod4.c')
-rw-r--r--elf/unload3mod4.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/elf/unload3mod4.c b/elf/unload3mod4.c
new file mode 100644
index 0000000000..4586ff7383
--- /dev/null
+++ b/elf/unload3mod4.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int
+bar (int x)
+{
+ puts ("bar");
+ fflush (stdout);
+ x = foo (x - 4);
+ puts ("bar after foo");
+ return x;
+}