https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65498
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Mar 24 19:38:28 2015 New Revision: 221641 URL: https://gcc.gnu.org/viewcvs?rev=221641&root=gcc&view=rev Log: PR c++/65498 * pt.c (get_mostly_instantiated_function_type): Just return the type of the partially instantiated template in DECL_TI_TEMPLATE. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-targ2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C