// PR c++/60347 struct A; template struct B { T* p; virtual ~B() { p->~T(); } }; struct C: B { };