// PR c++/20157 template struct A{ template void function(T); }; template<> template void A::function(ABC); // { dg-error "match" }