blob: 28d9198b2b16caab2c042fef13d596851f3ea29d [file] [log] [blame]
// PR c++/51328
template<typename T> struct A
{
void foo(A<T::~T>); // { dg-error "invalid use of destructor" }
};