aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr13250-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr13250-1.c')
-rw-r--r--ld/testsuite/ld-elf/pr13250-1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr13250-1.c b/ld/testsuite/ld-elf/pr13250-1.c
new file mode 100644
index 0000000..e43ebe0
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr13250-1.c
@@ -0,0 +1,8 @@
+int common1[8];
+void
+foo ()
+{
+ int i;
+ for (i = 0; i < sizeof (common1)/ sizeof (common1[0]); i++)
+ common1[i] = -1;
+}