PR c++/65727
commit7d07c4a71251c886ec003a7472e4ae0be1827850
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Apr 2015 21:17:03 +0000 (15 21:17 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Apr 2015 21:17:03 +0000 (15 21:17 +0000)
treeae9db838d14d43c0821e59dda18494dafae364c5
parent23bebc6785f920244a3d7e9eca83a7a39a2e01ff
PR c++/65727
* lambda.c (lambda_expr_this_capture): In unevaluated context go
through the normal loop, just don't capture.
(maybe_resolve_dummy): Handle null return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222132 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-decltype2.C [new file with mode: 0644]