[Bug c++/52595] [DR 325] commas and non-static data member initializers don't mix
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 5 13:36:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52595
--- Comment #10 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Fri Jun 5 13:35:30 2015
New Revision: 224152
URL: https://gcc.gnu.org/viewcvs?rev=224152&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-defer5.C
More information about the Gcc-bugs
mailing list