Sign in
llvm
/
clang
/
refs/heads/release_27
/
.
/
test
/
CodeGen
/
union-init2.c
blob: bd56f9e688a330abc8849fd740dd4290ed51ad36 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | FileCheck %s
// Make sure we generate something sane instead of a ptrtoint
union
x
{
long
long
b
;
union
x
*
a
;}
r
=
{.
a
=
&
r
};
// CHECK: bitcast (%0* @r to %union.x*), [4 x i8] zero