Fix parse/no-type-defn1.C with -std=c++1z.
authorJason Merrill <jason@redhat.com>
Mon, 7 Dec 2015 04:35:14 +0000 (23:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Dec 2015 04:35:14 +0000 (23:35 -0500)
commit1bf2ca0b75a3b6ce72ab4065dbc10b7f80413d4b
treeafce09c0b85c9dae374e599eab13a28b6d6b0510
parentca8e4b87ad6da53a0e8c17227f7ef82e38df66fb
Fix parse/no-type-defn1.C with -std=c++1z.

* parser.c (struct tentative_firewall): New.
(cp_parser_template_id, cp_parser_decltype_expr): Use it.

From-SVN: r231354
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/parse/no-type-defn1.C