summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfcomm/common1b.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfcomm/common1b.c')
-rw-r--r--ld/testsuite/ld-elfcomm/common1b.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfcomm/common1b.c b/ld/testsuite/ld-elfcomm/common1b.c
new file mode 100644
index 0000000..a375c90
--- /dev/null
+++ b/ld/testsuite/ld-elfcomm/common1b.c
@@ -0,0 +1,7 @@
+static
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
+ __attribute__((__used__))
+#endif /* __GNUC__ */
+ char dummy1 = 'X';
+char foo1 [] = "Aligned at odd byte.";
+char foo2 [4];