llvm-project/clang/test/CodeGen/2003-01-30-UnionInit.c

9 lines
125 B
C
Raw Normal View History

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