PR c++/82565 - ICE with concepts and generic lambda.
authorJason Merrill <jason@redhat.com>
Tue, 13 Mar 2018 20:22:31 +0000 (16:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 Mar 2018 20:22:31 +0000 (16:22 -0400)
commit515f874faf45628b1b86da81964f2049f7406326
tree122067c0b75183fdf4e0621ea1676591d3c9918f
parentf71c1a187b70b88d90263b209ea402fc38d4ec92
PR c++/82565 - ICE with concepts and generic lambda.

* pt.c (instantiate_decl): Clear fn_context for lambdas.

From-SVN: r258502
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/concepts/lambda1.C [new file with mode: 0644]