PR c++/64095 - auto... parameter pack.
authorJason Merrill <jason@redhat.com>
Mon, 2 Apr 2018 18:20:04 +0000 (14:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 2 Apr 2018 18:20:04 +0000 (14:20 -0400)
commit82a926bf06e8b7989ee189ef2b3bf7a6c055d6b8
tree2315159f618963a9946fe3e5887d2ac62313f5ad
parent078c5aff5ed83e9c237f3090e947860314838e00
PR c++/64095 - auto... parameter pack.

* parser.c (cp_parser_parameter_declaration): Handle turning autos
into packs here.
(cp_parser_parameter_declaration_list): Not here.

From-SVN: r259015
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic16.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/lambda-mangle-1.C