re PR c++/41769 (Parameter names not restricted to identifiers)
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 10 Jun 2011 19:31:00 +0000 (19:31 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 10 Jun 2011 19:31:00 +0000 (19:31 +0000)
commit106fcf8f5f49d7a7319381248a33a5fa59eca687
tree4feceff719742084a54fed6f369b3655e167f98d
parent418173945d315abc08d2980ed53521fb1892d94b
re PR c++/41769 (Parameter names not restricted to identifiers)

/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.

From-SVN: r174927
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error39.C [new file with mode: 0644]