1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// RUN: clang %s -emit-llvm -o - // XFAIL struct foo { void *a; int b; }; union { int i; float f; } u = { }; int main(int argc, char **argv) { union { int i; float f; } u2 = { }; static struct foo foo = { .b = 1024, }; }