Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
1f27ac6a52075f9a717f649dd778270916864e0e
/
.
/
test
/
CodeGenCXX
/
reference-field.cpp
blob: 88d4c1f37e6ef359943e870e78bbf020b2fb8e33 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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
();
}