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