2 // { dg-options "-pedantic-errors" }
4 void cheat( int* i ) { ++(*i); }
7 void cheat( int& i ) { ++i; }
12 void (t::*member)( const int& ) = &t::cheat; // { dg-error "" } conversion
13 void (*cheater)( const int* ) = &cheat; // { dg-error "" } converting