1// { dg-do assemble  }
2// PRMS Id: 4484 (bug 3)
3// Bug: g++ does implicitly take the address of methods passed to fns.
4
5struct A {
6  void f ();
7};
8
9void g (void (A::*)());
10
11void h () {
12  g (A::f);			// { dg-error "" } failed conversion to method pointer
13}
14