1 2 3 4 5 6 7
// { dg-do assemble } int main() { struct A { void f(); // { dg-error "with" } already declared void f(); // { dg-error "overloaded" } already declared }; }