blob: 504f5d1b623b7f51ae1b4fb7e53067bd7fa8f376 [file] [log] [blame]
// PR c++/59637
// { dg-do compile { target c++11 } }
template<typename T> void foo(T* p)
{
p->decltype(T{})::~X();
}