https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66320
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sun May 31 20:36:18 2015 New Revision: 223901 URL: https://gcc.gnu.org/viewcvs?rev=223901&root=gcc&view=rev Log: PR c++/66320 * constexpr.c (cxx_eval_constant_expression): Treat a placeholder with the wrong type as non-constant. Added: trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi11.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c