[Bug c++/35578] [4.2/4.3 Regression] Error about misplaced 'friend' word is issued on a wrong line
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 11 19:34:00 GMT 2008
------- Comment #5 from reichelt at gcc dot gnu dot org 2008-05-11 19:33 -------
Subject: Bug 35578
Author: reichelt
Date: Sun May 11 19:32:51 2008
New Revision: 135181
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135181
Log:
PR c++/35578
* parser.c (cp_parser_decl_specifier_seq): Add location to error
message.
* g++.dg/parse/friend8.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/friend8.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35578
More information about the Gcc-bugs
mailing list