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++/29003] operator name accepted in typedef


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

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-06-09 15:07:05 UTC ---
Author: paolo
Date: Thu Jun  9 15:06:59 2011
New Revision: 174846

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

    PR c++/29003
    * decl.c (grokdeclarator): Reject operator names in typedefs.

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

    PR c++/29003
    * g++.dg/parse/error38.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/error38.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]