8sa1-gcc/gcc/testsuite/g++.old-deja/g++.mike/err2.C
Jason Merrill 4495766362 fix implicit int
From-SVN: r23760
1998-11-22 18:23:45 -05:00

7 lines
104 B
C

class foo {
public:
void apply(foo *(foo::*memptr)()) {
this->*memptr(); // ERROR - wrong
}
};