Sign in
llvm
/
llvm-project
/
clang
/
f2acda819af64d5799892108b3754245dfbf9c59
/
.
/
test
/
CodeGenCXX
/
reference-field.cpp
blob: 7c78c99eb3d8fe95dbfb4bf6f03fb43378d9f6df [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | FileCheck %s
// Make sure the call to b() doesn't get optimized out.
extern
struct
x
{
char
&
x
,
y
;}
y
;
int
b
();
void
a
()
{
if
(!&
y
.
x
)
b
();
}
// CHECK: @_Z1bv