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