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