2 // { dg-options "-fpermissive" }
4 template<int> int foo()
6 return ({ foo; }); // { dg-error "insufficient context" }
11 return ({ foo; }); // { dg-error "insufficient context" }
16 typedef void (*bart)(int);
20 return ({ bar; }); // { dg-error "insufficient context" }
25 return ({ barf; }); // ok, no overload
34 return ({ f; }); // ok, no overload
38 return ({ g; }); // { dg-error "insufficient context" }