https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71546
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Feb 27 20:57:35 2018 New Revision: 258043 URL: https://gcc.gnu.org/viewcvs?rev=258043&root=gcc&view=rev Log: PR c++/71546 - lambda init-capture with qualified-id. * parser.c (cp_parser_lambda_introducer): Clear scope after each lambda capture. Added: trunk/gcc/testsuite/g++.dg/cpp1y/lambda-init17.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c