blob: 960085063cf1b493d690386d4322548e22721848 [file] [log] [blame]
// { dg-options "" }
// { dg-do compile }
// C++/30221
// We would ICE while trying to reshape the pointer to
// member function element which is not needed.
class abstract {};
typedef void (abstract::*fptr1) (short & s ) const;
struct s {fptr1 f;};
s array[] =
{
(fptr1)0
};