llvm-project/llvm/test/FrontendC/2003-10-09-UnionInitializer...

18 lines
218 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2004-11-07 06:41:00 +08:00
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};