blob: ef8504b2affd7d6c8dbb31baa93ad683b031a108 [file] [log] [blame]
// { dg-do assemble }
// Bug: this code causes an internal compiler error 4.
void f (char *);
void f (int);
struct A {
void f (); // { dg-message "" } candidate
void f (int); // { dg-message "" } candidate
void g () {
void (*p)(char *) = f; // { dg-error "" } no matching function in scope
}
};