forked from OSchip/llvm-project
24 lines
226 B
C
24 lines
226 B
C
|
// RUN: %clang_cc1 %s -O3 -emit-llvm -o -
|
||
|
// PR1176
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
char *key;
|
||
|
char *value;
|
||
|
} T1;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
long type;
|
||
|
char *value;
|
||
|
} T3;
|
||
|
|
||
|
T1 a[] =
|
||
|
{
|
||
|
{
|
||
|
"",
|
||
|
((char *)&((T3) {1, (char *) 1}))
|
||
|
}
|
||
|
};
|
||
|
|