hanchenye-llvm-project/llvm/test/CFrontend/2003-10-09-UnionInitializer...

18 lines
221 B
C
Raw Normal View History

2004-11-07 06:41:00 +08:00
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2003-10-10 12:05:29 +08:00
struct Foo {
unsigned a;
unsigned b;
unsigned c;
};
struct Bar {
union {
void **a;
struct Foo b;
}u;
};
struct Bar test = {0};