PR c++/80465 - ICE with generic lambda with noexcept-specifier.
authorJason Merrill <jason@redhat.com>
Sat, 17 Jun 2017 02:28:18 +0000 (22:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 17 Jun 2017 02:28:18 +0000 (22:28 -0400)
commitd4b1d43cec7ff278e97e22d1b06d220b7aa86be8
treecd623ba15f2144a7d523bda6db25843c5d18e963
parentcc14602e32f0ba0b6b7628c487bfa1441c2d78f4
PR c++/80465 - ICE with generic lambda with noexcept-specifier.

* lambda.c (maybe_add_lambda_conv_op): Keep processing_template_decl
set longer for a generic lambda.

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