Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
abi
/
thunk5.C
blob: 15526bf9ee3217cf9a3e286a67307f013d0af9f5 [
file
] [
log
] [
blame
]
// 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
;