/cp
commit444c104638ff28f2f6bd8d0bf186e1601ced8997
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 16:36:11 +0000 (15 16:36 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 16:36:11 +0000 (15 16:36 +0000)
treec4af60d10233b14ad5ff26eb9ae83f38709ceda0
parent1571aac7eceec92c4cdbd50818c3a57a1ebd0c2b
/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203624 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr58707.C [new file with mode: 0644]