4495766362
From-SVN: r23760
13 lines
174 B
C
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 -
|
|
}
|
|
};
|