llvm-for-llvmta/tools/clang/test/CodeGen/2003-01-30-UnionInit.c

9 lines
125 B
C

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
union foo {
struct { char A, B; } X;
int C;
};
union foo V = { {1, 2} };