[Bug c++/85374] Confusing diagnostic for function with missing brace that looks like a function-try-block

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 12 11:15:00 GMT 2018


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
If we see a return statement outside a function block it should be a clue that
there's some incorrect brace nesting going on.


More information about the Gcc-bugs mailing list