https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105419
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=97202 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- C++ DR 2237 changes this to be invalid code for C++20. GCC is correctly rejecting it. This is a dup of bug 103593. Note the diagnostic issue on describing why this is now invalid is PR 97202. *** This bug has been marked as a duplicate of bug 103593 ***