https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[10/11 Regression] member |[11 Regression] member |function pointer |function pointer |incorrectly parsed as |incorrectly parsed as |having trailing return type |having trailing return type Target Milestone|10.3 |11.0 Known to fail|10.2.0 | --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Daniel Santos from comment #0) > However, it builds on GCC 9 and is alleged to build on MSVC. The above > example is simplified from the original sources: Are you sure this fails with 10.2.0? I only see it fail with 11.0 and not gcc version 10.2.1 20201125 (but I didn't try a newer build from the gcc-10 branch).