r197514 - in /trunk/gcc: cp/ChangeLog cp/parser...

emsr@gcc.gnu.org emsr@gcc.gnu.org
Fri Apr 5 11:38:00 GMT 2013


Author: emsr
Date: Fri Apr  5 11:38:09 2013
New Revision: 197514

URL: http://gcc.gnu.org/viewcvs?rev=197514&root=gcc&view=rev
Log:
There can be only one ref qualifier at most.
gcc/cp:
2013-04-05  Ed Smith-Rowland  <3dw4rd@verizon.net>

	* g++.dg/cpp0x/ref-qual-multi-neg.C: New test.

gcc/testsuite:
2013-04-05  Ed Smith-Rowland  <3dw4rd@verizon.net>

	* parser.c (cp_parser_ref_qualifier_seq_opt): Move to
	cp_parser_ref_qualifier_opt.  Error if more than one ref-qual found.


Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/ref-qual-multi-neg.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list