Test case for r126127. Radar 9012638.
authorStuart Hastings <stuart@apple.com>
Mon, 21 Feb 2011 18:08:40 +0000 (18:08 +0000)
committerStuart Hastings <stuart@apple.com>
Mon, 21 Feb 2011 18:08:40 +0000 (18:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126131 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2011-02-21-DATA-common.c [new file with mode: 0644]

diff --git a/test/FrontendC/2011-02-21-DATA-common.c b/test/FrontendC/2011-02-21-DATA-common.c
new file mode 100644 (file)
index 0000000..650ae7e
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: %llvmgcc -S %s -o /dev/null
+struct rtxc_snapshot {
+  int a, b, c, d;
+};
+__attribute__ ((section("__DATA, __common"))) static struct rtxc_snapshot rtxc_log_A[4];