]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/CodeGenCXX/virtual-implicit-move-assignment.cpp
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / CodeGenCXX / virtual-implicit-move-assignment.cpp
CommitLineData
223e47cc
LB
1// RUN: %clang_cc1 -emit-llvm -std=c++11 -o - %s | FileCheck %s
2
3struct D;
4struct B {
5 virtual D &operator=(D&&) = 0;
6};
7struct D : B { D(); virtual void a(); };
8void D::a() {}
9D d;
10
11// CHECK: @_ZTV1D = {{.*}} @_ZN1DaSEOS_
12// CHECK: define linkonce_odr {{.*}} @_ZN1DaSEOS_