summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/virtual-implicit-copy-assignment.cpp
blob: e99b9e67510c846c8b1feb56f31ceb96ac4f629c (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s

struct D;
struct B {
 virtual D& operator = (const D&);
};
struct D : B { D(); virtual void a(); };
void D::a() {}

// CHECK: @_ZTV1D = {{.*}} @_ZN1DaSERKS_ 
OpenPOWER on IntegriCloud