[Bug c++/95742] Bad error message in parsing a function with "decltype()"
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 18 13:25:07 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95742
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Haoxin Tu from comment #0)
> This code test.cc, I think it's not a garbage input for GCC,
That's debatable.
> I guess GCC might can not recognize the function definition correctly?
That's not a valid function definition though, that's why GCC doesn't recognize
it.
More information about the Gcc-bugs
mailing list