]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/11553 (g++ accepts duplicate 'friend')
authorScott Brumbaugh <scottb.lists@verizon.net>
Tue, 2 Sep 2003 23:22:10 +0000 (23:22 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 2 Sep 2003 23:22:10 +0000 (23:22 +0000)
commit1918facfd12f3b3466d877a093ff8fc3ef80b668
tree1d5c6c517f54ce593935edad36f312bbffe48bdf
parent48c2d88a10fa91e85008de2421347588bf65384b
re PR c++/11553 (g++ accepts duplicate 'friend')

PR c++/11553
* parser.c (cp_parser_decl_specifier_seq): Add check for a
duplicate friend decl-specifier.

PR c++/11553
* g++.dg/parse/friend3.C: New test.

From-SVN: r71008
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/friend3.C [new file with mode: 0644]