blob: d720fe850cca6545c5d27e1838104bc790ee9833 [file] [log] [blame]
// PR c++/22180
struct A {};
template<typename T> void foo()
{
T::~T(); // { dg-error "member" }
}
template void foo<A>(); // { dg-message "required" }