https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86200
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Jun 19 00:38:58 2018 New Revision: 261730 URL: https://gcc.gnu.org/viewcvs?rev=261730&root=gcc&view=rev Log: PR c++/86200 - ICE with unexpanded pack in lambda parameter. * pt.c (find_parameter_packs_r) [LAMBDA_EXPR]: Also look into the function type. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic7.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/pt.c