Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
ce39faa836d0fe2f3be9ff11865c6433f734b2c6
/
.
/
test
/
CodeGen
/
union.c
blob: 8102f9b6fd737b07114178735771642f1ece159b [
file
] [
log
] [
blame
]
// RUN: clang %s -emit-llvm
union
{
int
a
;
float
b
;
}
u
;
void
f
()
{
u
.
b
=
11
;
}
int
f2
(
float
__x
)
{
union
{
float
__f
;
unsigned
int
__u
;
}
__u
;
return
(
int
)(
__u
.
__u
>>
31
);
}