// { dg-options "-std=c++0x" } void f() { } template void f(){ f(); } // { dg-error "no matching" } int main() { f(); }