blob: 8463bacc9ba1e1b6afab4aef36b08df91a3d96cf [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 "must be called" }
}
};