Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
2752c0137d95aa2f4ee1cdff4b564bac842e041b
/
.
/
test
/
CodeGen
/
union-init2.c
blob: ac469cd4b51250ff4626c677f1e379772ace4e30 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] undef"
// Make sure we generate something sane instead of a ptrtoint
union
x
{
long
long
b
;
union
x
*
a
;}
r
=
{.
a
=
&
r
};