/cp
commit3219c02bcde1e9cfd27bd766381e3215c424ee09
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2015 15:36:54 +0000 (10 15:36 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2015 15:36:54 +0000 (10 15:36 +0000)
treed6b0747256243a640b4bfb7b870d293c49062ada
parent739237d5f20c316a76058cedea888b142497262c
/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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227650 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic166.C [new file with mode: 0644]