https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95968
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, clang also rejects this (even with libc++).
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 01 Oct 2021 23:05:13 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95968
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, clang also rejects this (even with libc++).