2 // Contributed by Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // PR c++/14497: Reject specialization without template headers
7 template<int M> void B () ;
10 void A<0>::B<0>() { // { dg-error "specializing member 'A<0>::B<0>' requires 'template<>' syntax" }