friend3.C
139 Bytes
-
re PR c++/11553 (g++ accepts duplicate 'friend') · 1918facf
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
Scott Brumbaugh committed