Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
b51a70396e5d99bec354085f7cf96d127988f37b
/
.
/
clang
/
test
/
CodeGen
/
static-local-union.c
blob: bd32519e43e9edc54ce4b3b40e5d5e0c5a9f626f [
file
] [
log
] [
blame
]
Daniel Dunbar
8fbe78f
2009-12-15 20:14:24 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -emit-llvm < %s
Eli Friedman
c98a7ad
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