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
+2006-04-27 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/27102
+ * typeck2.c (cxx_incomplete_type_diagnostic): Handle
+ TYPENAME_TYPE.
+
2006-04-24 Mark Mitchell <mark@codesourcery.com>
PR c++/27292
p_msg ("invalid use of template type parameter");
break;
+ case TYPENAME_TYPE:
+ p_msg ("invalid use of dependent type %qT", type);
+ break;
+
case UNKNOWN_TYPE:
if (value && TREE_CODE (value) == COMPONENT_REF)
goto bad_member;
+2006-04-27 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/27102
+ * g++.dg/template/crash47.C: New test.
+
2006-04-27 Dirk Mueller <dmueller@suse.de>
* gcc.target/i386/sse-7.c: build with -msse.
--- /dev/null
+// PR c++/27102
+
+template<typename T> void T::X::foo() {} // { dg-error "invalid" }