1 // { dg-do assemble } 2 // Bug: this code causes an internal compiler error 4. 3 4 void f (char *); 5 void f (int); 6 struct A { 7 void f (); // { dg-message "" } candidate 8 void f (int); // { dg-message "" } candidate gA9 void g () { 10 void (*p)(char *) = f; // { dg-error "" } no matching function in scope 11 } 12 }; 13