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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-08-27
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The trunk show:
<source>: In function 'int main()':
<source>:7:30: error: expected ';' before string constant
    7 |     std::cout << "oops " << i " number" << endl;
      |                              ^~~~~~~~~~
      |                              ;

Error recovery is always hard even saying << might be wrong when you want +.

Reply via email to