PR c++/85761 - ICE with ill-formed use of const outer variable.
authorJason Merrill <jason@redhat.com>
Sun, 3 Jun 2018 01:01:47 +0000 (21:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 3 Jun 2018 01:01:47 +0000 (21:01 -0400)
commit57ea03ad4a0dde989d1c38a0028378964104bbd7
tree9e2732b8029516dcd3e0e3f298aeb9a2d18828fc
parentdd39af4425fc44f73364faf7a1f9d79240c98c10
PR c++/85761 - ICE with ill-formed use of const outer variable.

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

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