PR c++/84708 - ICE with lambda in local class NSDMI.
authorJason Merrill <jason@redhat.com>
Mon, 5 Mar 2018 22:14:38 +0000 (17:14 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 5 Mar 2018 22:14:38 +0000 (17:14 -0500)
commit91e534b0d41cd1a91172f544f6f5bcdff47cc740
tree4c17fd35553270c8bf48c90b5dfdab9b94519c51
parent9a25c5ce6e2677ae33ba489bd18335332f5e2560
PR c++/84708 - ICE with lambda in local class NSDMI.

* lambda.c (lambda_expr_this_capture): Handle local class NSDMI
context.

From-SVN: r258264
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi9.C [new file with mode: 0644]