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