// PR c++/28743 template struct A { template void foo(); }; template template void A<0>::foo() {} // { dg-error "template parameter" }