// { dg-do compile { target c++11 } } // { dg-prune-output "note" } void f() { } template void f(){ f(); } // { dg-error "no matching" } int main() { f(); }