https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58040
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC, ICC, clang and MSVC all fail the same way. Are we sure this is valid? Even this fails: void(Derived:: *t)() = &Derived::bar;
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 04 Aug 2021 00:36:00 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58040
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC, ICC, clang and MSVC all fail the same way. Are we sure this is valid? Even this fails: void(Derived:: *t)() = &Derived::bar;