1 // PR c++/79420 2 f()3 template<int> int f () 4 { 5 return f.x; // { dg-error "overloaded function with no contextual type information" } 6 } 7 g()8 void g () 9 { 10 f<0> (); 11 } 12