https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Thiago Macieira from comment #4) > (In reply to Martin Sebor from comment #2) > > Reconfirming that GCC 10 still accepts it. The code does look invalid but > > no compiler I tried rejects the code (Clang, ICC, or Visual C++). > > EDG front-ends do, see https://conformance.godbolt.org/z/39x5qn3Gf So just FYI, that was recorded as PR 69903 really.