PR c++/45976 - error with ::template in declarator.
authorJason Merrill <jason@redhat.com>
Wed, 28 Jun 2017 19:41:43 +0000 (15:41 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 28 Jun 2017 19:41:43 +0000 (15:41 -0400)
commit36f48ebd016d4ace605a864c7f7303dbc281748d
tree23314e421c96fcafc0a55196f4681e1873a3f9e2
parent1e5f79b61994f8ffccad62a58031f5937aa16ae3
PR c++/45976 - error with ::template in declarator.

* pt.c (resolve_typename_type): Fix TEMPLATE_ID_EXPR handling.

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