Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s |
Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [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_ | ||||
11 | // CHECK: define linkonce_odr {{.*}} @_ZN1DaSERKS_ |