// PR c++/19762 template struct A { ~A(){} }; // { dg-error "" } template A<>::~A(); // { dg-error "template|declaration" }