//PR c++/27667 struct A { template static void foo () {} template<> static void foo<0>() {} // { dg-error "31:template-id .foo<0>. in declaration|explicit specialization" } };