// PR c++/29408 template class a { ~a(); // { dg-error "template-id not allowed for destructor" "" { target c++20 } } };