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

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

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