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

13 lines
174 B
C

// Special g++ Options:
class S {
public:
void (S::*pmf)();
void foo() {
pmf(); // WARNING -
}
static void foo1(S* sp) {
(sp->pmf)(); // ERROR -
}
};