aboutsummaryrefslogtreecommitdiff
path: root/elf/nodlopenmod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/nodlopenmod2.c')
-rw-r--r--elf/nodlopenmod2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/nodlopenmod2.c b/elf/nodlopenmod2.c
new file mode 100644
index 0000000000..ce1bbcc50f
--- /dev/null
+++ b/elf/nodlopenmod2.c
@@ -0,0 +1,7 @@
+extern int a;
+
+int
+foo (void)
+{
+ return a;
+}