https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96077

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-07-06

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's not ideal to provide a testcase that doesn't compile for an
accepts-invalid bug. A testcase that actually compiles is a better
demonstration that the invalid code is accepted, e.g.

int main () {
    enum { a = ( 1 ) ? ( 2 ) : ( 2 + 1 /* missing ")" here */ } l_e; //accept
}


Every version from 4.0 onwards behaves the same (I didn't test anything older).

Reply via email to