OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Oct 2011 18:18:55 +0000 (18:18 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Oct 2011 18:18:55 +0000 (18:18 +0000)
commit2e358325c8117bb973f3d3169a2f6675e9ca9188
tree62ea0e195344c092241f8f23009c4faeb6e0ce83
parent1f46ee3914923d28579fa65f64307b089549e1ae
/cp
2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/31423
* typeck2.c (cxx_incomplete_type_diagnostic): Improve error message
for invalid use of member function.

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

PR c++/31423
* g++.dg/parse/error43.C: New.
* g++.dg/parse/error44.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180309 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error43.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/error44.C [new file with mode: 0644]