| 1 |
// PR c++/35067 |
| 2 |
// The thunks should be weak even on targets without one-only support. |
| 3 |
// { dg-require-weak "" } |
| 4 |
// { dg-final { scan-assembler "weak.*ZTv" } } |
| 5 |
|
| 6 |
struct A |
| 7 |
{ |
| 8 |
virtual ~A() { } |
| 9 |
}; |
| 10 |
|
| 11 |
struct B: virtual A { }; |
| 12 |
|
| 13 |
B b; |