https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119182
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Rather the issue which is testing (and is fixed for GCC 14+) is the decltype(x) is int rather than int&.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 10 Mar 2025 05:23:46 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119182
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Rather the issue which is testing (and is fixed for GCC 14+) is the decltype(x) is int rather than int&.