llvm-project/llvm/test/FrontendC/2007-02-04-AddrLValue.c

24 lines
227 B
C
Raw Normal View History

2007-02-05 10:19:09 +08:00
// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
2007-02-05 10:26:07 +08:00
// PR1176
2007-02-05 10:19:09 +08:00
typedef struct
{
char *key;
char *value;
} T1;
typedef struct
{
long type;
char *value;
} T3;
T1 a[] =
{
{
"",
((char *)&((T3) {1, (char *) 1}))
}
};