re PR c++/56871 ([c++11] Specialization of constexpr Templated Function)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 8 Apr 2013 18:09:35 +0000 (18:09 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 8 Apr 2013 18:09:35 +0000 (18:09 +0000)
commit0c3f68a025fc9d41a615854c21c6f2363739c066
tree92fdcb27459923ecf6448b366a65496e139d9866
parent8ddb5a296eea999c6376f43a643b2baf79cf886a
re PR c++/56871 ([c++11] Specialization of constexpr Templated Function)

/cp
2013-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56871
* decl.c (validate_constexpr_redeclaration): Allow an explicit
specialization to be different wrt the constexpr specifier.

/testsuite
2013-04-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56871
* g++.dg/cpp0x/constexpr-specialization.C: New.

From-SVN: r197597
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-specialization.C [new file with mode: 0644]