[llvm-commits] [llvm] r126131 - /llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c
Stuart Hastings
stuart at apple.com
Mon Feb 21 10:08:40 PST 2011
Author: stuart
Date: Mon Feb 21 12:08:40 2011
New Revision: 126131
URL: http://llvm.org/viewvc/llvm-project?rev=126131&view=rev
Log:
Test case for r126127. Radar 9012638.
Added:
llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c
Added: llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c?rev=126131&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c (added)
+++ llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c Mon Feb 21 12:08:40 2011
@@ -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];
More information about the llvm-commits
mailing list