Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGenCXX
/
reference-field.cpp
blob: 54e914d0f3fce594bec9d2954517a2edbe0c0ee2 [
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
();
int
a
()
{
if
(!&
y
.
x
)
b
();
}
// CHECK: @_Z1bv