Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
77d2c5f66aac32546c016f57143f2d0f399acbd1
/
.
/
test
/
CodeGenCXX
/
elide-call-reference.cpp
blob: c82eee70c840572538b982c0c42f5770de97581c [
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 void @_ZN1AC1ERKS_
// CHECK: call void @_ZN1AD1Ev