1 2 3 4 5 6 7
// { dg-do assemble } class foo { public: void apply(foo *(foo::*memptr)()) { this->*memptr(); // { dg-error "" } wrong } };