Sign in
cobalt
/
cobalt
/
a3dd835b53c74ec0f3e791c01fbcde33bbf26c6d
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGenCXX
/
elide-call-reference.cpp
blob: 0ce856f0c2236615759f13708a7a281c66ce7b73 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
// PR5695
struct
A
{
A
(
const
A
&);
~
A
();
};
A
&
a
();
void
b
()
{
A x
=
a
();
}
// CHECK: call {{.*}} @_ZN1AC1ERKS_
// CHECK: call {{.*}} @_ZN1AD1Ev