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.