Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / virtual-implicit-move-assignment.cpp
blob7c28fb11215c24471e0128ed237b57a4cb53ff78
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -std=c++11 -o - %s | FileCheck %s
3 struct D;
4 struct B {
5 virtual D &operator=(D&&) = 0;
6 };
7 struct D : B { D(); virtual void a(); };
8 void D::a() {}
9 D d;
11 // CHECK: @_ZTV1D = {{.*}} @_ZN1DaSEOS_
12 // CHECK: define linkonce_odr {{.*}} @_ZN1DaSEOS_