Sign in
llvm
/
clang
/
337cba4b3e17b98cfa512dfd12e57f4ccb0859be
/
.
/
test
/
CodeGen
/
union-init2.c
blob: e782425cf2b11e7c34a168c167cc3ff324d33bb1 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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
};