re PR c++/52595 ([DR 325] commas and non-static data member initializers don't mix)
authorNathan Sidwell <nathan@acm.org>
Fri, 5 Jun 2015 13:35:30 +0000 (13:35 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 5 Jun 2015 13:35:30 +0000 (13:35 +0000)
commitac59f9beec4e2f44bd3c04eb8f4fb9432feaea40
tree4500de3ce0d127790dc285f5cd84d207f6202132
parent22749d7e82c9fa8a276266b94df1807d23d478c6
re PR c++/52595 ([DR 325] commas and non-static data member initializers don't mix)

cp/
PR c++/52595
* parser.c (cp_parser_cache_defarg): Continue looking for
declarators when scanning a potential template argument list of an
NSDMI.

testsuite/
PR c++/52595
* g++,dg/cpp0x/nsdmi-defer5.C: Add template case.

From-SVN: r224152
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nsdmi-defer5.C