1 void f(long); 2 void f(char); 3 g()4 void g() 5 { 6 return f(42); // { dg-error "ambiguous" } 7 } // { dg-bogus "void" "" { target *-*-* } .-1 } 8