Hans Wennborg | 442e4f7 | 2013-12-13 22:43:52 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -cxx-abi itanium -emit-llvm -o - %s | FileCheck %s |
Eli Friedman | 81bce6b | 2009-12-02 06:59:20 +0000 | [diff] [blame] | 2 | |
3 | struct D; | ||||
4 | struct B { | ||||
5 | virtual D& operator = (const D&); | ||||
6 | }; | ||||
7 | struct D : B { D(); virtual void a(); }; | ||||
8 | void D::a() {} | ||||
9 | |||||
10 | // CHECK: @_ZTV1D = {{.*}} @_ZN1DaSERKS_ | ||||
Eli Friedman | df76fe4 | 2009-12-02 07:04:32 +0000 | [diff] [blame] | 11 | // CHECK: define linkonce_odr {{.*}} @_ZN1DaSERKS_ |