PR c++/84368 - wrong error with local variable in variadic lambda.
authorJason Merrill <jason@redhat.com>
Thu, 15 Feb 2018 18:15:32 +0000 (13:15 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 15 Feb 2018 18:15:32 +0000 (13:15 -0500)
commit4912defbcc3cc0d3a3af9673e413d45731c94da2
tree77f7815ff9ef4bbcfd15054e7cd1262f6c2d88c0
parent4779063140d6dc06de57d489923c91df7513f374
PR c++/84368 - wrong error with local variable in variadic lambda.

* pt.c (tsubst_pack_expansion): Fix handling of non-packs in
local_specializations.

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