[Bug c++/67318] [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 10 15:37:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67318
--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Sep 10 15:36:54 2015
New Revision: 227650
URL: https://gcc.gnu.org/viewcvs?rev=227650&root=gcc&view=rev
Log:
/cp
2015-09-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67318
* parser.c (cp_parser_parameter_declaration): Consume the ellipsis
and set template_parameter_pack_p also when the type is null.
/testsuite
2015-09-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67318
* g++.dg/cpp0x/variadic166.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic166.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list