diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-04 02:21:26 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-04 02:21:26 +0000 |
commit | a64813cd3303033f6b33e25be09555057417440b (patch) | |
tree | 40c865159677abce219e9a31bac1a7a5f08b327a /gcc/cp/error.c | |
parent | b04f65ff1fd572447610eddcecddfe12b8f03710 (diff) | |
download | ppe42-gcc-a64813cd3303033f6b33e25be09555057417440b.tar.gz ppe42-gcc-a64813cd3303033f6b33e25be09555057417440b.zip |
gcc/cp/ChangeLog:
* error.c (dump_type) <UNKNOWN_TYPE>: Print reworded message.
gcc/testsuite/ChangeLog:
* g++.dg/overload/unknown1.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 0490fc5bc15..814250abb21 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -259,7 +259,7 @@ dump_type (tree t, int flags) switch (TREE_CODE (t)) { case UNKNOWN_TYPE: - pp_identifier (cxx_pp, "<unknown type>"); + pp_identifier (cxx_pp, "<unresolved overloaded function type>"); break; case TREE_LIST: |