// PR c++/27211 struct A {}; template void A::foo(); // { dg-error "member function" }