https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118307
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ``` struct A { &&A(){} }; ``` Also gives the same odd error message.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 05 Jan 2025 15:15:35 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118307
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ``` struct A { &&A(){} }; ``` Also gives the same odd error message.