// PR c++/51613 template void apply(F f, T t) { f(t); } template void multi(T) { } template void multi(T*) { } int main() { apply(&multi, 7); // { dg-error "no match" } return 0; }