This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/67041] [C++14] Variable template initialized by call to lambda does not compile


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]