re PR c++/47184 ([C++0x] initialization construct interpreted as function declaration‏‏)
authorJason Merrill <jason@redhat.com>
Wed, 25 May 2011 19:50:49 +0000 (15:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 25 May 2011 19:50:49 +0000 (15:50 -0400)
commit636e368d17f866add3270e482e722c335b453c98
tree507e4bc959349bf5fe0dc977fac2c340463770a9
parentc497c412b4f86260b62e8105cf983d204a9ccc86
re PR c++/47184 ([C++0x] initialization construct interpreted as function declaration‏‏)

PR c++/47184
* parser.c (cp_parser_parameter_declaration): Recognize
list-initialization.
(cp_parser_direct_declarator): Check for the closing
paren before parsing definitely.

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