aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr13250-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr13250-2.c')
-rw-r--r--ld/testsuite/ld-elf/pr13250-2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr13250-2.c b/ld/testsuite/ld-elf/pr13250-2.c
new file mode 100644
index 0000000..af8268b
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr13250-2.c
@@ -0,0 +1,10 @@
+extern int common1[8];
+
+extern void foo ();
+
+int
+bar ()
+{
+ foo ();
+ return common1[4];
+}