re PR c++/9328 (ICE with templates and namespace std members)
authorMark Mitchell <mark@codesourcery.com>
Thu, 23 Jan 2003 00:17:32 +0000 (00:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 23 Jan 2003 00:17:32 +0000 (00:17 +0000)
commit65a5559bdf97989997b12c372ef4c77dd4740b19
treed5c3c68f7468b575405a5936763f83526baefb9f
parent68aab9ee3e6ba21b48b5f2e24e61705472b7f7ed
re PR c++/9328 (ICE with templates and namespace std members)

PR c++/9328
* g++.dg/ext/typeof3.C: New test.

PR c++/9328
* error.c (dump_decl): For an OVERLOAD, just print the name of the
function; it doesn't make sense to try to print its type.
* semantics.c (finish_typeof): Issue errors about invalid uses.

From-SVN: r61631
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/typeof3.C [new file with mode: 0644]