https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104266
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2022-01-29 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So clang, ICC and MSVC all reject it for at least in C++17 mode (clang and ICC accepted it for C++14). Confirmed.