re PR c++/67318 (Parsing error when using abbreviated integral type names in template...
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 10 Sep 2015 15:36:54 +0000 (15:36 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 10 Sep 2015 15:36:54 +0000 (15:36 +0000)
commit08f8b6653ad6351e58dd466ca8be575e2855b88a
treed6b0747256243a640b4bfb7b870d293c49062ada
parentdbb68221b64c0174eeb22d878a8e078775ee73bf
re PR c++/67318 (Parsing error when using abbreviated integral type names in template parameter pack declaration)

/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.

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