xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2008-10-30-ZeroPlacement.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o -
2*f4a2713aSLionel Sambuc // PR2987
3*f4a2713aSLionel Sambuc struct S2045
4*f4a2713aSLionel Sambuc {
5*f4a2713aSLionel Sambuc   unsigned short int a;
6*f4a2713aSLionel Sambuc   union { } b;
7*f4a2713aSLionel Sambuc   union __attribute__ ((aligned (4))) { } c[0];
8*f4a2713aSLionel Sambuc };
9*f4a2713aSLionel Sambuc struct S2045 s2045;
10