/cp
commita9b93fedeb3e4e6bd8e5180772f919adbb8461aa
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2013 12:35:44 +0000 (17 12:35 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2013 12:35:44 +0000 (17 12:35 +0000)
treea4684e1a59c643c1372ca2efb593e4910cae5cc8
parent86d5f6576258f440bd14513fba0d729f450b394e
/cp
2013-05-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/18126
* parser.c (cp_parser_sizeof_operand): As a GNU Extension, parse
correctly sizeof compound-literal; update comments.

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

PR c++/18126
* g++.dg/ext/sizeof-complit.C: New.

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