summaryrefslogtreecommitdiff
path: root/test/old-elf/Inputs/use-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/old-elf/Inputs/use-shared.c')
-rw-r--r--test/old-elf/Inputs/use-shared.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/old-elf/Inputs/use-shared.c b/test/old-elf/Inputs/use-shared.c
new file mode 100644
index 000000000000..b370eaa4fac2
--- /dev/null
+++ b/test/old-elf/Inputs/use-shared.c
@@ -0,0 +1,7 @@
+extern int i;
+void foo();
+
+int main() {
+ foo();
+ return i;
+}