mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 06:35:23 +00:00
24 lines
227 B
C
24 lines
227 B
C
|
// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
|
||
|
// PR1173
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
char *key;
|
||
|
char *value;
|
||
|
} T1;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
long type;
|
||
|
char *value;
|
||
|
} T3;
|
||
|
|
||
|
T1 a[] =
|
||
|
{
|
||
|
{
|
||
|
"",
|
||
|
((char *)&((T3) {1, (char *) 1}))
|
||
|
}
|
||
|
};
|
||
|
|