parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid template-ids.
commitefcdb22fe3288fbfa4cd8ba9554b3a561c4d6e08
authorJason Merrill <jason@redhat.com>
Tue, 6 Jan 2015 20:44:59 +0000 (6 15:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 6 Jan 2015 20:44:59 +0000 (6 15:44 -0500)
tree9e6a76a93de820d6c2c6f7e3980a979f81f7ca93
parentc6a38536f205e0723600d54bce3aaf05ec107161
parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid template-ids.

* parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
template-ids.

From-SVN: r219269
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1y/var-templ20.C [new file with mode: 0644]