Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
012614ecf78442368ec82ee30efb3bc047b413e6
/
.
/
test
/
CodeGen
/
2003-01-30-UnionInit.c
blob: 98aee727b4ecd45c3ca2ced955edbeeb630056e1 [
file
] [
log
] [
blame
]
Eric Christopher
3883e66
2011-07-26 22:17:02 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
union
foo
{
4
struct
{
char
A
,
B
;
}
X
;
5
int
C
;
6
};
7
8
union
foo V
=
{
{
1
,
2
}
};