Eli Friedman | ca6affd | 2009-12-02 06:59:20 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -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_ | ||||
Eli Friedman | f195357 | 2009-12-02 07:04:32 +0000 | [diff] [blame] | 11 | // CHECK: define linkonce_odr {{.*}} @_ZN1DaSERKS_ |