https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123350
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- EDG and MSVC also rejects this. I am not even sure this is a GCC bug but rather a bug in clang accepting this code.
pinskia at gcc dot gnu.org via Gcc-bugs Tue, 30 Dec 2025 14:02:43 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123350
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- EDG and MSVC also rejects this. I am not even sure this is a GCC bug but rather a bug in clang accepting this code.