1// { dg-options "" } 2// { dg-do compile } 3// C++/30221 4// We would ICE while trying to reshape the pointer to 5// member function element which is not needed. 6 7 8class abstract {}; 9typedef void (abstract::*fptr1) (short & s ) const; 10struct s {fptr1 f;}; 11s array[] = 12{ 13 (fptr1)0 14}; 15