OSDN Git Service

PR c++/47184
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2011 19:50:49 +0000 (19:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2011 19:50:49 +0000 (19:50 +0000)
commitb25cc8c29580fd63b3b2b9d1493ee3b15847a89b
tree507e4bc959349bf5fe0dc977fac2c340463770a9
parentdd1f46509681bea4db4c5baf46662062e716adaa
PR c++/47184
* parser.c (cp_parser_parameter_declaration): Recognize
list-initialization.
(cp_parser_direct_declarator): Check for the closing
paren before parsing definitely.

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