g++ compiles the following program: void f() {}
int main(void) { foobar:f(); } This problem arose from writing a single : instead of :: for a namespace. I can't find any correct meaning for this code, and accepting means people might accidentally not get the namespace function they wanted. Am I missing something? -- Summary: Accepts invalid on 4.0.1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: chris at bubblescope dot net GCC host triplet: i686-apple-darwin8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30800