void f (char *);
void f (int);
struct A {
- void f (); // { dg-error "" } candidate
- void f (int); // { dg-error "" } candidate
+ void f (); // { dg-message "" } candidate
+ void f (int); // { dg-message "" } candidate
void g () {
void (*p)(char *) = f; // { dg-error "" } no matching function in scope
}