1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc #pragma pack(push, 2) 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc enum { 6*f4a2713aSLionel Sambuc tA = 0, 7*f4a2713aSLionel Sambuc tB = 1 8*f4a2713aSLionel Sambuc }; 9*f4a2713aSLionel Sambuc 10*f4a2713aSLionel Sambuc struct MyStruct { 11*f4a2713aSLionel Sambuc unsigned long A; 12*f4a2713aSLionel Sambuc char C; 13*f4a2713aSLionel Sambuc void * B; 14*f4a2713aSLionel Sambuc }; 15*f4a2713aSLionel Sambuc bar()16*f4a2713aSLionel Sambucvoid bar(){ 17*f4a2713aSLionel Sambuc struct MyStruct MS = { tB, 0 }; 18*f4a2713aSLionel Sambuc } 19