------- Comment #9 from sabre at nondot dot org 2006-05-31 23:00 -------
Right, clearly issuing good diagnostics is a matter of balancing cases against
each other. While I agree that this is valid:
void f() {
void g();
g();
}
I don't see it used very often, particularly not in C++ code (I'm accustomed to
seeing it in pre-ansi C code most of the time). I personally think that
forgetting (or losing track of) the brace occurs more often than the erroneous
version of this, but if you disagree, that's fine and I'll stop bugging you!
-Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26058