1 2 3 4 5 6 7 8 9
struct Z { int f(); }; int Z::f() { return 7; } struct Z z; int (Z::*m)() = &Z::f; struct Z*p = &z;