https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114695
--- Comment #4 from Vincent Piquet <vin.piquet at gmail dot com> --- Note that MSVC latest now also fails this last sample regardless of the language version (but the error differs from C++17 to C++20). Clang (>= 5.0.0) still happily accepts it, on both versions.