Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 %s -O3 -emit-llvm -o -
      2 // PR1176
      3 
      4 typedef struct
      5 {
      6   char *key;
      7   char *value;
      8 } T1;
      9 
     10 typedef struct
     11 {
     12   long type;
     13   char *value;
     14 } T3;
     15 
     16 T1 a[] =
     17 {
     18   {
     19     "",
     20     ((char *)&((T3) {1, (char *) 1}))
     21   }
     22 };
     23 
     24