https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82791

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-07-23
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |accepts-invalid

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
With -pedantic-errors only:
auto foo = typeid(obj.*mfp).name(); //returns "void ()"

is accepted.

The rest is not.

GCC does have an extension converting PMF to a pointer function which is
definitely happening here.

Reply via email to