/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 May 2013 09:41:42 +0000 (09:41 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 May 2013 09:41:42 +0000 (09:41 +0000)
commit525079a246e3368dba8bbb03d503928d2b09c4f7
tree03d5af74c833b41d567293dc88c5da738e5990a6
parent05b733e30b7c3f2ae7244c24f048381fab9026ed
/cp
2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/10207
* parser.c (cp_parser_postfix_expression): Use cp_parser_braced_list
instead of cp_parser_initializer_list for compound-literals.

/testsuite
2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/10207
* g++.dg/ext/complit13.C: New.

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