re PR c++/67041 ([C++14] Variable template initialized by call to lambda does not...
authorJason Merrill <jason@redhat.com>
Tue, 8 Sep 2015 19:33:47 +0000 (15:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Sep 2015 19:33:47 +0000 (15:33 -0400)
commit979734578a6c2a11dce55c3c583c051b13b45ffc
tree66b0992bdfac4420f7c587efa762b86ef109cddc
parent51aae43f235863454bcce315c748b2836c5d3f98
re PR c++/67041 ([C++14] Variable template initialized by call to lambda does not compile)

PR c++/67041
* pt.c (tsubst_copy_and_build): Handle variables like functions.

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