OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jun 2011 15:06:59 +0000 (15:06 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jun 2011 15:06:59 +0000 (15:06 +0000)
commit40258d04c3c791745ab7e2788510adc024f111ea
tree0bb6dc82d11dd690983bb00bc7850a6cd4bd4455
parentb3923b2236421eebf4897b9ce42101f235852267
/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174846 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error38.C [new file with mode: 0644]