1// PR c++/19440 2// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de> 3 4// { dg-do compile } 5 6template<int> struct A 7{ 8 ~A<0>(); // { dg-error "parse error|declaration" } 9}; 10