https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97475
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Maybe we should make this ill-formed for C++20, and a pedwarn otherwise, so existing code continues to compile using previous standards.