Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6e2cf8c4d740c44b1908ac2a8cfae206b6a2bf63
/
.
/
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
();
}