summaryrefslogtreecommitdiff
path: root/elf/unload3mod3.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/unload3mod3.c')
-rw-r--r--elf/unload3mod3.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/elf/unload3mod3.c b/elf/unload3mod3.c
new file mode 100644
index 0000000000..046022c55d
--- /dev/null
+++ b/elf/unload3mod3.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int
+foo (int x)
+{
+ puts ("foo");
+ return x * 2;
+}