]> git.ipfire.org Git - thirdparty/gcc.git/commit
pt.c (tsubst_copy_and_build): Get LAMBDA_EXPR_RETURN_TYPE from the instantiated closure.
authorJason Merrill <jason@redhat.com>
Fri, 4 Mar 2016 01:45:48 +0000 (20:45 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 4 Mar 2016 01:45:48 +0000 (20:45 -0500)
commita0a6a8c9662c1aeae0d1c2a63bc45a0a8242b43b
tree29ee68a92da1ce3de949a7dedaa98c19c57d50df
parent264fd1424e7e198bc071f832a300cef9b0b0fac0
pt.c (tsubst_copy_and_build): Get LAMBDA_EXPR_RETURN_TYPE from the instantiated closure.

* pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Get
LAMBDA_EXPR_RETURN_TYPE from the instantiated closure.

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