[Bug c++/4100] [parser] friend qualifier accepted in definition of nested class

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 12 16:14:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-12 16:14 -------
Subject: Bug 4100

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ian@gcc.gnu.org	2004-01-12 16:14:42

Modified files:
	gcc/cp         : ChangeLog parser.c 

Log message:
	PR c++/4100
	* parser.c (cp_parser_decl_specifier_seq): Add check for a friend
	decl-specifier occurring along with a class definition.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3868&r2=1.3869
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.150&r2=1.151



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4100



More information about the Gcc-bugs mailing list