1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/FrontendC/2003-10-09-UnionInitializerBug.c

18 lines
221 B
C
Raw Normal View History

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