ptrmem6a.C   [plain text]


struct Z {
  int f();
};

int Z::f() { return 7; }

struct Z z;
int (Z::*m)() = &Z::f;
struct Z*p = &z;