decl.c (grokfndecl): Change pair of errors to error + inform.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 17 Jun 2016 19:10:35 +0000 (19:10 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Jun 2016 19:10:35 +0000 (19:10 +0000)
commitbf54f1234fed3a9968d2ff0425c1a5470d93367b
tree577b5c2b653d07ad7e9cff10ef2c15fa916cef3a
parent3ebacabd0ec9e8460212c5d4f57dc1d733445915
decl.c (grokfndecl): Change pair of errors to error + inform.

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

* decl.c (grokfndecl): Change pair of errors to error + inform.

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

* g++.dg/cpp0x/defaulted31.C: Adjust for dg-message vs dg-error.

From-SVN: r237562
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted31.C