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

--- Comment #2 from Halalaluyafail3 <luigighiron at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> EDG also rejects it:
> ```
> "<source>", line 3: error: expected an identifier
>       int y=0?0,0:0;
>                 ^
> ```
> 
> 
> Are you sure this is valid code and not a bug in clang?
> Especially when 3 out of the 4 major front-ends reject it.

I'm not aware of anything that would make this invalid.

Reply via email to