// PR c++/71548 // { dg-do compile { target c++11 } } template class fl {}; template class = fl> struct S {}; template void f(S ) {} void lol() { S<> s; f(s); // { dg-error "no matching function for call to" } }