https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83406
--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Thu Dec 21 19:16:01 2017 New Revision: 255950 URL: https://gcc.gnu.org/viewcvs?rev=255950&root=gcc&view=rev Log: [PR c++/83406] deducing lambda type https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01432.html PR c++/83406 * parser.c (cp_parser_lambda_body): Remove obsolete single-return-statement handling. PR c++/83406 * g++.dg/cpp0x/lambda/lambda-ice15.C: Adjust error. * g++.dg/cpp1y/pr83406.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr83406.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice15.C