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