re PR c++/27102 (ICE with invalid class name in function template)
authorMark Mitchell <mark@codesourcery.com>
Thu, 27 Apr 2006 19:02:54 +0000 (19:02 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 27 Apr 2006 19:02:54 +0000 (19:02 +0000)
commit8fcd79cbcdf931c4875a6863fe47482224b1f03d
treeee631379739b2c8648c77857e44377c30718bae1
parent9613eaffa45f5e2c1f5f92e0dc9da018d00c2fdc
re PR c++/27102 (ICE with invalid class name in function template)

PR c++/27102
* typeck2.c (cxx_incomplete_type_diagnostic): Handle
TYPENAME_TYPE.
PR c++/27102
* g++.dg/template/crash47.C: New test.

From-SVN: r113320
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash47.C [new file with mode: 0644]