2 // g++ 1.37.1 bug 900404_03
4 // g++ fails to be able to properly flag errors for even simple cases of
5 // ambiguous overload resolution (such as the one shown below).
7 // Cfront 2.0 passes this test.
9 // keywords: overloading, ambiguity, resolution
11 void function0 (int i, char c) // { dg-message "function0" }
16 void function0 (char c, int i) // { dg-message "function0" }
25 function0 (c,c); // { dg-error "ambiguous" }
28 int main () { return 0; }