https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122720
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Closing as dup. The testcase is now rejected, but that is correct before
CWG3131 which hasn't been voted into C++26 yet.
#c2 says what will work.
*** This bug has been marked as a duplicate of bug 122658 ***