From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 Description of problem: compilation of the following namespace B { namespace C { void g(void); } } void B::C:g(void) { } will cause g++ to request a bug report is filed. Version-Release number of selected component (if applicable): gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) How reproducible: Always Steps to Reproduce: 1.g++ -c <a file with above code> 2. 3. Actual Results: t.cxx:10: `B::C' as declarator Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Expected Results: Just a syntax error Additional info:
RHL9 is EOL and gcc-3.3.3-7 certainly doesn't ICE on this.