xref: /aosp_15_r20/external/clang/test/CodeGen/2007-02-04-AddrLValue.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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