PR c++/86728 - C variadic generic lambda.
authorJason Merrill <jason@redhat.com>
Sat, 11 Aug 2018 10:47:03 +0000 (06:47 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 11 Aug 2018 10:47:03 +0000 (06:47 -0400)
commitfc186cbd1cdff6cecdb8eb0a350c3ee0af2d1332
treeafd965c1c0a3d65af36432483bd49a0f1b841a9d
parent1d03ff3ff1ae890c4ef212fa8a07140fa296d06e
PR c++/86728 - C variadic generic lambda.

* parser.c (cp_parser_parameter_declaration): Don't turn 'auto' into
a pack if it's followed by a declarator-id.

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