https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85155 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- GCC's behaviour is correct by the resolution of https://wg21.link/cwg1778 but apparently that rule causes problems. Maybe Clang doesn't support it yet.