repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
elide-call-reference.cpp
blob
0ce856f0c2236615759f13708a7a281c66ce7b73
1
// RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
2
// PR5695
3
4
struct
A
{
A
(
const
A
&); ~
A
(); };
5
A
&
a
();
6
void
b
() {
7
A x
=
a
();
8
}
9
10
// CHECK: call {{.*}} @_ZN1AC1ERKS_
11
// CHECK: call {{.*}} @_ZN1AD1Ev