Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
083128f6b13dfa4fc615a838c49b516d901b1ac0
/
.
/
test
/
CodeGen
/
static-local-union.c
blob: f276b200eb1077edff4ceaaadce43ba8b6adbf1f [
file
] [
log
] [
blame
]
Daniel Dunbar
d7d5f02
2009-03-24 02:24:46 +0000
[
diff
] [
blame
]
1
// RUN: clang-cc -emit-llvm < %s
Eli Friedman
2659052
2008-06-08 01:23:18 +0000
[
diff
] [
blame
]
2
3
int
a
()
{
static
union
{
int
a
;}
r
[
2
]
=
{
1
,
2
};
return
r
[
1
].
a
;}
4