]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/class.c
re PR c++/13657 (Error message incorrectly describes return type as argument type)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 19 Oct 2011 22:45:58 +0000 (22:45 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 19 Oct 2011 22:45:58 +0000 (22:45 +0000)
commitc3c1f2b7bdce26985fd0e5aa4cefb59e6e0e3150
treea02fd41d6c61be0f14c97b3b7e62f955d2f52009
parent875bcfdbf412ba625cf9ee9e1bd6610c0ad5b5f8
re PR c++/13657 (Error message incorrectly describes return type as argument type)

/cp
2011-10-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/13657
* class.c (instantiate_type): Fix error message.

/testsuite
2011-10-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/13657
* g++.dg/parse/error42.C: New.
* g++.old-deja/g++.other/ptrmem7.C: Tweak dg-errors.

From-SVN: r180228
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error42.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/ptrmem7.C