//PR c++/27961 struct A { template void foo(X); // { dg-error "declared" } }; template void f()(0); // { dg-error "initialize" }