re PR c++/57640 (Explicit call of system literal operator complains about leading...
authorEd Smith-Rowland <3dw4rd@verizon.net>
Wed, 26 Jun 2013 03:35:54 +0000 (03:35 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Wed, 26 Jun 2013 03:35:54 +0000 (03:35 +0000)
commit1a3fab15bcbd41b0ad326124c49eb62c67287bb2
tree526fe1dae3599c809f543ed0d559a8f882eba4ea
parentaf4c64a70ea1a5db2ec71ee0b99bc7353bd5bc3d
re PR c++/57640 (Explicit call of system literal operator complains about leading underscore.)

gcc/cp:

2013-06-25  Ed Smith-Rowland  <3dw4rd@verizon.net>

PR c++/57640
* parser.c (cp_parser_unqualified_id): Add declarator_p to checks
to trigger warning, (cp_literal_operator_id): Remove bogus TODO comment.

gcc/testsuite:

2013-06-25  Ed Smith-Rowland  <3dw4rd@verizon.net>

PR c++/57640
* g++.dg/cpp1y/pr57640.C: New.

From-SVN: r200415
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr57640.C [new file with mode: 0644]