Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5ed1bc351f36ca1086d7836baee546c39ce90dd7
/
.
/
test
/
CodeGenCXX
/
reference-field.cpp
blob: 0312029259520dd09646a1a36179244f398a3d38 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s -O2 | grep "@_Z1bv"
// Make sure the call to b() doesn't get optimized out.
extern
struct
x
{
char
&
x
,
y
;}
y
;
int
b
();
int
a
()
{
if
(!&
y
.
x
)
b
();
}