]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/9898 (Template reference cast operator of template class)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 21 Mar 2003 15:42:36 +0000 (15:42 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 21 Mar 2003 15:42:36 +0000 (15:42 +0000)
commitf3146d75a925306d35d582c3c927d06ce93aa03d
tree3e7d8b64875f583eb668a0b9ec42505d04c42847
parent526278c97fe19c97ce04c66238127097fe4da76b
re PR c++/9898 (Template reference cast operator of template class)

cp:
PR c++/9898
* error.c (dump_decl) [CONST_DECL]: Print '<enumerator>'.
(dump_expr) [CONSTRUCTOR]: Print default ctor as a function call.
testsuite:
PR c++/9898
* g++.dg/other/error4.C: New test.

From-SVN: r64667
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error4.C [new file with mode: 0644]