]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/33744 (function-style cast and '>' not allowed in template argument)
authorJakub Jelinek <jakub@redhat.com>
Fri, 26 Oct 2007 11:57:46 +0000 (13:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 26 Oct 2007 11:57:46 +0000 (13:57 +0200)
commit0f1e332126d1a3bc3c6048bad324049b9f423020
tree0f2100f84eda6d636341fd372ff10793572e611e
parent9b70c6b0780bc6fef0278d6af9f551bc3f21eaa3
re PR c++/33744 (function-style cast and '>' not allowed in template argument)

PR c++/33744
* parser.c (cp_parser_parenthesized_expression_list): Set
greater_than_is_operator_p to true in between the parens.

* g++.dg/template/arg6.C: New test.

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