1 2 3 4 5 6 7
//PR c++/19439 template<int> struct A { ~A() {} // { dg-error "with" } ~A() {} // { dg-error "cannot be overloaded" } };