[Bug c++/67041] [C++14] Variable template initialized by call to lambda does not compile
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 8 19:34:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67041
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Sep 8 19:33:47 2015
New Revision: 227553
URL: https://gcc.gnu.org/viewcvs?rev=227553&root=gcc&view=rev
Log:
PR c++/67041
* pt.c (tsubst_copy_and_build): Handle variables like functions.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-var-templ1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list