summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/ptrmem3.C
blob: 09ae9db0a8e94b0cd75c3c1884e4af9f2423a36b (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }

class c {
  void (c::*x)();
public:
  void f() { this->x(); } // { dg-error "" } pointer-to-member
};