From: Stuart Hastings Date: Mon, 21 Feb 2011 21:08:21 +0000 (+0000) Subject: Test case for r126127 and r126141. Radar 9012638. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9becaaeefa7e577fbf8368ca0e6890e1da0d73cd;p=clang Test case for r126127 and r126141. Radar 9012638. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126142 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/attribute-section-data-common.c b/test/CodeGen/attribute-section-data-common.c new file mode 100644 index 0000000000..2393bfb032 --- /dev/null +++ b/test/CodeGen/attribute-section-data-common.c @@ -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];