[llvm-commits] [llvm] r126131 - /llvm/trunk/test/FrontendC/2011-02-21-DATA-common.c
Chris Lattner
clattner at apple.com
Mon Feb 21 10:24:22 PST 2011
On Feb 21, 2011, at 10:08 AM, Stuart Hastings wrote:
> 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.
Hi Stuart,
Please add frontend tests to the clang testsuite instead of test/FrontendC.
-Chris
>
> 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];
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list