// PR c++/28301 // { dg-do compile } template struct A { template void foo() }; // { dg-error "initializer" } template<> struct A { template void foo(); }; void bar() { A a; a.foo<0>(); }