llvm-for-llvmta/tools/clang/test/CodeGen/2003-10-09-UnionInitializerBug.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

18 lines
214 B
C

// 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};