Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / elide-call-reference.cpp
blob0ce856f0c2236615759f13708a7a281c66ce7b73
1 // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s
2 // PR5695
4 struct A { A(const A&); ~A(); };
5 A& a();
6 void b() {
7 A x = a();
10 // CHECK: call {{.*}} @_ZN1AC1ERKS_
11 // CHECK: call {{.*}} @_ZN1AD1Ev