PR c++/84420 - ICE with structured binding in lambda.
authorJason Merrill <jason@redhat.com>
Fri, 16 Feb 2018 21:02:50 +0000 (16:02 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Feb 2018 21:02:50 +0000 (16:02 -0500)
commit6f58bc5825c0d0ff0606b747b01bb2dcff882a1d
tree513ad6e55a9281bb0dd709c6e7b929efdc0962b9
parente1617c1d3837a5d914a6bfd6b01f46c941d0caca
PR c++/84420 - ICE with structured binding in lambda.

* lambda.c (is_capture_proxy): Check DECL_DECOMPOSITION_P.

From-SVN: r257761
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp1z/decomp-lambda1.C [new file with mode: 0644]