https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121637
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely what will happen is GCC will start to reject this for the template case too.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 24 Aug 2025 20:36:18 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121637
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely what will happen is GCC will start to reject this for the template case too.