r266865 - in /trunk/gcc: cp/ChangeLog cp/parser...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Thu Dec 6 19:43:00 GMT 2018
Author: mpolacek
Date: Thu Dec 6 19:43:17 2018
New Revision: 266865
URL: https://gcc.gnu.org/viewcvs?rev=266865&root=gcc&view=rev
Log:
PR c++/88373 - wrong parse error with ~.
* parser.c (cp_parser_template_name): Check tag_type for
none_type.
* g++.dg/cpp2a/fn-template19.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp2a/fn-template19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list