PR c++/84802 - ICE capturing uninstantiated class.
authorJason Merrill <jason@redhat.com>
Mon, 12 Mar 2018 12:58:38 +0000 (08:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 12 Mar 2018 12:58:38 +0000 (08:58 -0400)
commit11b782f7f205c3e88efe89347cd9d80c3525e6ac
treefad0a2abb8184d8d357fe3b4f4ca32ce6a05f51d
parent8f1a73b2bb0d399fa6784a2f365fa8dd3ae007f5
PR c++/84802 - ICE capturing uninstantiated class.

* lambda.c (build_capture_proxy): Call complete_type.

From-SVN: r258447
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice9.C [new file with mode: 0644]