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