URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p11012.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Wno-pmf-conversions" }
// prms-id: 11012
class Foo {
public:
int f(){ return 0; }
};
void foo() {
void *p1 = &Foo::f;
const void *p2 = &Foo::f;
int (*p3)() = &Foo::f;
}
Go to most recent revision | Compare with Previous | Blame | View Log