C++: add fixit for '>>' template error
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 30 Aug 2016 21:21:42 +0000 (21:21 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 30 Aug 2016 21:21:42 +0000 (21:21 +0000)
commit71b308914e31765f2110e6692685e0842c317bed
tree8c4de93c8c6aaf35474d2b10310efa9ce40c1421
parent75791bab05ec4a45a5c6a4dccd7f824ea8f4487c
C++: add fixit for '>>' template error

gcc/cp/ChangeLog:
* parser.c (cp_parser_enclosed_template_argument_list): Add fix-it
hint to ">>" within nested template argument list error.

gcc/testsuite/ChangeLog:
* g++.dg/template/double-greater-than-fixit.C: New test case.

From-SVN: r239873
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/double-greater-than-fixit.C [new file with mode: 0644]