https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Aug 6 16:33:14 2015 New Revision: 226684 URL: https://gcc.gnu.org/viewcvs?rev=226684&root=gcc&view=rev Log: PR c++/66533 * parser.c (cp_parser_primary_expression): Don't skip to the end of the statement if we're parsing tentatively. Added: trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c