This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/41769] Parameter names not restricted to identifiers


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41769

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-06-10 19:31:03 UTC ---
Author: paolo
Date: Fri Jun 10 19:31:00 2011
New Revision: 174927

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174927
Log:
/cp
2011-06-10  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/41769
    * decl.c (grokdeclarator): Reject operator names in parameters.

/testsuite
2011-06-10  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/41769
    * g++.dg/parse/error39.C: New.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]