mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 02:31:09 +00:00
test for pr1173
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b87056f111
commit
464c19e654
23
test/CFrontend/2007-02-04-AddrLValue.c
Normal file
23
test/CFrontend/2007-02-04-AddrLValue.c
Normal file
@ -0,0 +1,23 @@
|
||||
// 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}))
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user