re PR c++/4100 ([parser] friend qualifier accepted in definition of nested class)
authorScott Brumbaugh <scottb.lists@verizon.net>
Mon, 12 Jan 2004 16:14:41 +0000 (16:14 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 12 Jan 2004 16:14:41 +0000 (16:14 +0000)
commit0426c4ca869f62525e807d8fc1bff9a983780308
tree463b8787bb575c71cc03d101c85cdc09526be242
parent8064d930e80f245b379f51072b4b85746b8e4ccf
re PR c++/4100 ([parser] friend qualifier accepted in definition of nested class)

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

From-SVN: r75726
gcc/cp/ChangeLog
gcc/cp/parser.c