[PR c++/83406] deducing lambda type
authorNathan Sidwell <nathan@acm.org>
Thu, 21 Dec 2017 19:16:01 +0000 (19:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 21 Dec 2017 19:16:01 +0000 (19:16 +0000)
commitc0a499af71a7cec55590a74b66c386cfcb11aed6
treea9f1fcc47a948a7cf5b20b9c7d843c58e1200a64
parentcb4b152d88b9c77f552345917601d401010dc4b3
[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.

From-SVN: r255950
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice15.C
gcc/testsuite/g++.dg/cpp1y/pr83406.C [new file with mode: 0644]