blob: 453be520048d744c538928240157a14c8098d4b5 [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 ();
void f (int);
void g () {
void (*p)(char *) = f; // { dg-error "cannot initialize" }
}
};