summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/err2.C
blob: 9d8a596e6f589955e689b0b7c71fee6c7f3869a7 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
class foo {
public:
  void apply(foo *(foo::*memptr)()) {
    this->*memptr();		// { dg-error "" } wrong
  }
};