https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58650

--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Dec 16 23:28:31 2014
New Revision: 218801

URL: https://gcc.gnu.org/viewcvs?rev=218801&root=gcc&view=rev
Log:
/cp
2014-12-16  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/58650
    * parser.c (cp_parser_member_declaration): Fix error recovery for
    initialized non-static data member declared friend.

/testsuite
2014-12-16  Paolo Carlini  <paolo.carl...@oracle.com>

    PR c++/58650
    * g++.dg/parse/friend12.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/friend12.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to