1
0
mirror of https://github.com/RPCS3/llvm.git synced 2024-12-13 23:18:58 +00:00
llvm/test/FrontendC/2008-10-30-ZeroPlacement.c
Duncan Sands 557291c544 Testcase for PR2987.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58459 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-30 21:13:11 +00:00

10 lines
158 B
C

// RUN: %llvmgcc -c %s
// PR2987
struct S2045
{
unsigned short int a;
union { } b;
union __attribute__ ((aligned (4))) { } c[0];
};
struct S2045 s2045;