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