PR c++/85761 - ICE with ill-formed use of const outer variable.
commit69d1d385aa97b391455f844c399637b1b1762beb
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jun 2018 01:01:47 +0000 (3 01:01 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jun 2018 01:01:47 +0000 (3 01:01 +0000)
tree9e2732b8029516dcd3e0e3f298aeb9a2d18828fc
parent1f5a5f3c7db7f0e6b6a17a403c536b41c74ccce7
PR c++/85761 - ICE with ill-formed use of const outer variable.

* expr.c (mark_use): Handle location wrappers.

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