]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
decl.c (validate_constexpr_redeclaration): Change pair of errors to error + inform.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 17 Jun 2016 20:01:46 +0000 (20:01 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Jun 2016 20:01:46 +0000 (20:01 +0000)
commitc561b09181d6543d310f203072f5940604df3fb9
tree81fe3c5382f90ca9d828af92253a0a05f55ef1c9
parentce20977799be679bf8769522e94b72d32b781fde
decl.c (validate_constexpr_redeclaration): Change pair of errors to error + inform.

/cp
2016-06-17  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (validate_constexpr_redeclaration): Change pair of errors
to error + inform.
* error.c (dump_function_decl): Save the constexpr specifier too.

/testsuite
2016-06-17  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/constexpr-specialization.C: Adjust for dg-message
vs dg-error; test constexpr specifier too.

From-SVN: r237564
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-specialization.C