Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
85df96c1f04867e26ba069aa0cc6a4cd6a01292e
/
.
/
test
/
CodeGenCXX
/
elide-call-reference.cpp
blob: 55d30e24c102ae08dd26e7c8be43439c78484bb7 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
// PR5695
struct
A
{
A
(
const
A
&);
~
A
();
};
A
&
a
();
void
b
()
{
A x
=
a
();
}
// CHECK: call {{.*}} @_ZN1AC1ERKS_
// CHECK: call {{.*}} @_ZN1AD1Ev