llvm-project/clang/test/CodeGen/2003-10-09-UnionInitializer...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
214 B
C
Raw Normal View History

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