1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s 2*f4a2713aSLionel Sambuc // RUN: grep 'ret i32 4' %t 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc enum e0 { E0 }; 5*f4a2713aSLionel Sambuc struct s0 { 6*f4a2713aSLionel Sambuc enum e0 a:31; 7*f4a2713aSLionel Sambuc }; 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc struct s0 t1_tmp; f0()10*f4a2713aSLionel Sambucint f0() { 11*f4a2713aSLionel Sambuc return __alignof__(t1_tmp); 12*f4a2713aSLionel Sambuc } 13