https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89642 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC, ICC, clang and MSVC all reject this at -std=c++20 (or /std:c++latest for MSVC).