URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [pmf6.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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 "" }
}
};
Go to most recent revision | Compare with Previous | Blame | View Log