aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/darwin-comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/darwin-comm.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/darwin-comm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/darwin-comm.c b/gcc-4.9/gcc/testsuite/gcc.dg/darwin-comm.c
new file mode 100644
index 000000000..a743fc6d4
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/darwin-comm.c
@@ -0,0 +1,4 @@
+/* { dg-do compile { target *-*-darwin[912]* } } */
+/* { dg-final { scan-assembler ".comm\[ \t\]_foo,1,15" } } */
+
+char foo __attribute__ ((aligned(32768)));