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