| 1 | // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s |
|---|---|
| 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_ |
| 12 |