/cp
2007-08-28 Paolo Carlini <pcarlini@suse.de>
PR c++/33209
* error.c (dump_expr): Deal with TEMPLATE_TYPE_PARM and
BOUND_TEMPLATE_TEMPLATE_PARM.
/testsuite
2007-08-28 Paolo Carlini <pcarlini@suse.de>
PR c++/33209
* g++.dg/template/error29.C: New.
From-SVN: r127866
+2007-08-28 Paolo Carlini <pcarlini@suse.de>
+
+ PR c++/33209
+ * error.c (dump_expr): Deal with TEMPLATE_TYPE_PARM and
+ BOUND_TEMPLATE_TEMPLATE_PARM.
+
2007-08-28 Jakub Jelinek <jakub@redhat.com>
PR c++/32596
pp_id_expression (cxx_pp, t);
break;
+ case TEMPLATE_TYPE_PARM:
+ case BOUND_TEMPLATE_TEMPLATE_PARM:
+ dump_type (t, flags);
+ break;
+
/* This list is incomplete, but should suffice for now.
It is very important that `sorry' does not call
`report_error_function'. That could cause an infinite loop. */
+2007-08-28 Paolo Carlini <pcarlini@suse.de>
+
+ PR c++/33209
+ * g++.dg/template/error29.C: New.
+
2007-08-28 Jakub Jelinek <jakub@redhat.com>
PR c++/32596
--- /dev/null
+// PR c++/33209
+
+template<typename T> void foo(int, T::x); // { dg-error "T::x" }
+
+template<template<typename> class T> void foo2(int, T<int>::x); // { dg-error "T<int>::x" }