re PR c++/61683 (decltype-specifier not accepted as mem-initializer-id)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 2 Jun 2015 10:28:14 +0000 (10:28 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 2 Jun 2015 10:28:14 +0000 (10:28 +0000)
commita983abd29c19a3bbfa39512d1622e92797f22521
tree32089317911fe9b254dfcde2e5f988dd15e605cd
parentb4147b63ad2d8dace41f33d62ac341b7c64ae905
re PR c++/61683 (decltype-specifier not accepted as mem-initializer-id)

/cp
2015-06-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61683
* parser.c (cp_parser_mem_initializer): Allow for decltype-specifier.

/testsuite
2015-06-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61683
* g++.dg/cpp0x/decltype-mem-initializer1.C: New.

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