2 // { dg-options "-fms-extensions" }
3 // Test that an object-dependent reference to a member function can be
4 // used to produce a pointer to member function, as in VC++.
5 // Contributed by Jason Merrill <jason@cygnus.com>
9 int f(int a) { return 0; }
10 void f(int a, int b) { }
13 typedef int (A::* pmf1)(int);
14 typedef void (A::* pmf2)(int, int);