Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
      2 
      3 enum En {
      4   ENUM_VAL
      5 };
      6 
      7 struct St {
      8   unsigned char A;
      9   enum En B;
     10   unsigned char C;
     11   enum En D;
     12   float E;
     13 };
     14 
     15 
     16 void func(struct St* A) {
     17   A->D = ENUM_VAL;
     18 }
     19