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

18 lines
218 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
struct Foo {
unsigned a;
unsigned b;
unsigned c;
};
struct Bar {
union {
void **a;
struct Foo b;
}u;
};
struct Bar test = {0};