[PR c++/83406] deducing lambda type
commitef18f7b98463be372ca3d70c3d53dc53b9575f36
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 19:16:01 +0000 (21 19:16 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 19:16:01 +0000 (21 19:16 +0000)
treea9f1fcc47a948a7cf5b20b9c7d843c58e1200a64
parent470f1606a82fcbf693dbec701732da5f8b22bbc3
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255950 138bc75d-0d04-0410-961f-82ee72b054a4
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]