blob: b851f2c44e2b847da98e38be04486e77a40e6f71 [file] [log] [blame]
// { 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;
}