Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3b47733ceac33306bd54ce9d6c7d8eeeae52c7ca
/
.
/
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