Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6db92f3c6c455fbb4c5be97cfaf39df67ec1c8df
/
.
/
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
);
}