blob: 12d1ebef2870fb785de1da06b080691ede060ccc [file] [log] [blame]
// { dg-do assemble }
// { dg-options "" }
class S {
public:
void (S::*pmf)();
void foo() {
pmf(); // { dg-warning "" }
}
static void foo1(S* sp) {
(sp->pmf)(); // { dg-error "" }
}
};