[llvm-commits] [llvm] r58459 - /llvm/trunk/test/FrontendC/2008-10-30-ZeroPlacement.c
Duncan Sands
baldrick at free.fr
Thu Oct 30 14:13:11 PDT 2008
Author: baldrick
Date: Thu Oct 30 16:13:11 2008
New Revision: 58459
URL: http://llvm.org/viewvc/llvm-project?rev=58459&view=rev
Log:
Testcase for PR2987.
Added:
llvm/trunk/test/FrontendC/2008-10-30-ZeroPlacement.c
Added: llvm/trunk/test/FrontendC/2008-10-30-ZeroPlacement.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2008-10-30-ZeroPlacement.c?rev=58459&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/2008-10-30-ZeroPlacement.c (added)
+++ llvm/trunk/test/FrontendC/2008-10-30-ZeroPlacement.c Thu Oct 30 16:13:11 2008
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc -c %s
+// PR2987
+struct S2045
+{
+ unsigned short int a;
+ union { } b;
+ union __attribute__ ((aligned (4))) { } c[0];
+};
+struct S2045 s2045;
More information about the llvm-commits
mailing list