2009-08-25 23:38:29 +08:00
|
|
|
// 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};
|
|
|
|
|