llvm-6502/test/FrontendC/2003-10-09-UnionInitializerBug.c

18 lines
221 B
C
Raw Normal View History

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