PR c++/81257 - ICE with invalid ::template.
authorJason Merrill <jason@redhat.com>
Fri, 30 Jun 2017 21:08:53 +0000 (17:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 30 Jun 2017 21:08:53 +0000 (17:08 -0400)
commit3d4de231f7215b4b890ccf89135772bd8f3a97db
tree16eca9598c66759dedf87f9c80adaf65d7e24c42
parentfb6a764dfdb74bbd0acfb7dc8d95a98286637d8a
PR c++/81257 - ICE with invalid ::template.

PR c++/54769 - wrong lookup of dependent template-name.
* parser.c (cp_parser_template_name): Revert part of last change.

From-SVN: r249855
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/parse/template-keyword1.C [new file with mode: 0644]