1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-do assemble } class environment { public: int get_font() ; }; typedef int (environment::*INT_FUNCP)(); void myfoo(INT_FUNCP a); void init_env_requests() { myfoo(&environment::get_font); }