OSDN Git Service

PR c++/45437
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / expr / ptrmem6a.C
1 struct Z {
2   int f();
3 };
4
5 int Z::f() { return 7; }
6
7 struct Z z;
8 int (Z::*m)() = &Z::f;
9 struct Z*p = &z;