// PR c++/59637 // { dg-do compile { target c++11 } } template void foo(T* p) { p->decltype(T{})::~X(); }