r225831 - in /trunk/gcc: cp/ChangeLog cp/parser...
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed Jul 15 14:13:00 GMT 2015
Author: jason
Date: Wed Jul 15 14:13:22 2015
New Revision: 225831
URL: https://gcc.gnu.org/viewcvs?rev=225831&root=gcc&view=rev
Log:
PR c++/65091
* parser.c (cp_parser_unqualified_id): Don't accept ~x in a
template if there is no type x in scope.
Added:
trunk/gcc/testsuite/g++.dg/parse/dtor17.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
More information about the Gcc-cvs
mailing list