[cfe-commits] r126142 - /cfe/trunk/test/CodeGen/attribute-section-data-common.c

Stuart Hastings stuart at apple.com
Mon Feb 21 13:08:21 PST 2011


Author: stuart
Date: Mon Feb 21 15:08:21 2011
New Revision: 126142

URL: http://llvm.org/viewvc/llvm-project?rev=126142&view=rev
Log:
Test case for r126127 and r126141.  Radar 9012638.

Added:
    cfe/trunk/test/CodeGen/attribute-section-data-common.c

Added: cfe/trunk/test/CodeGen/attribute-section-data-common.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/attribute-section-data-common.c?rev=126142&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/attribute-section-data-common.c (added)
+++ cfe/trunk/test/CodeGen/attribute-section-data-common.c Mon Feb 21 15:08:21 2011
@@ -0,0 +1,5 @@
+// RUN: %clang -S %s -o /dev/null
+struct rtxc_snapshot {
+  int a, b, c, d;
+};
+__attribute__ ((section("__DATA, __common"))) struct rtxc_snapshot rtxc_log_A[4];





More information about the cfe-commits mailing list