]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/58707 ([C++11] A greater-than operator in square brackets should not end...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 15 Oct 2013 16:36:11 +0000 (16:36 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 15 Oct 2013 16:36:11 +0000 (16:36 +0000)
commit09560e7f4dadaa207f8bc94a848811ae0bbf948f
treec4af60d10233b14ad5ff26eb9ae83f38709ceda0
parenta1b499a31047004bb5966c835413c2f5aa16446e
re PR c++/58707 ([C++11] A greater-than operator in square brackets should not end a template argument list)

/cp
2013-10-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58707
* parser.c (cp_parser_postfix_open_square_expression): Set
parser->greater_than_is_operator_p for the argument.

/testsuite
2013-10-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58707
* g++.dg/cpp0x/pr58707.C: New.

From-SVN: r203624
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr58707.C [new file with mode: 0644]