1 2 3 4 5
// { dg-do assemble } // Testcase for simple overloading resolution. int foo (); // { dg-error "" } void foo (); // { dg-error "" } disallowed overload