re PR c++/64496 (ICE with NSDMI and lambda)
authorJason Merrill <jason@redhat.com>
Tue, 6 Jan 2015 20:44:39 +0000 (15:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 6 Jan 2015 20:44:39 +0000 (15:44 -0500)
commit47867b4f6556aab84701452eb0ff5a9bd2f46522
treecd08f6d985da9274dba1a30941e244ec5d1683b4
parent864822bd8880db5e75398a2e409dccb7545418ef
re PR c++/64496 (ICE with NSDMI and lambda)

PR c++/64496
* semantics.c (process_outer_var_ref): Diagnose lambda in local
class NSDMI.

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