Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
71e2bf960105daeb3b6f7005e73885b790b2a1b1
/
.
/
test
/
CodeGen
/
union-init2.c
blob: 184d75f47156ab78914897e8e9c8bb1b563b6c5a [
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\] zeroinitializer"
// Make sure we generate something sane instead of a ptrtoint
union
x
{
long
long
b
;
union
x
*
a
;}
r
=
{.
a
=
&
r
};