diff options
author | Stuart Hastings <stuart@apple.com> | 2011-02-21 18:08:40 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2011-02-21 18:08:40 +0000 |
commit | ec43f8052c9d0783b0ac8ffd7ffe9054ea8b6f5f (patch) | |
tree | 5a173254b7c67b8547aaeab38ad81c4a61d7a903 /test/FrontendC | |
parent | 7331ca853af405460960d7cc07f48fd01fb58acf (diff) | |
download | external_llvm-ec43f8052c9d0783b0ac8ffd7ffe9054ea8b6f5f.tar.gz external_llvm-ec43f8052c9d0783b0ac8ffd7ffe9054ea8b6f5f.tar.bz2 external_llvm-ec43f8052c9d0783b0ac8ffd7ffe9054ea8b6f5f.zip |
Test case for r126127. Radar 9012638.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC')
-rw-r--r-- | test/FrontendC/2011-02-21-DATA-common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FrontendC/2011-02-21-DATA-common.c b/test/FrontendC/2011-02-21-DATA-common.c new file mode 100644 index 0000000000..650ae7eddd --- /dev/null +++ b/test/FrontendC/2011-02-21-DATA-common.c @@ -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]; |