PR c++/23639
* semantics.c (qualified_name_lookup_error): Do not complain again
on invalid scope.
* g++.dg/template/ttp5.C: Adjust error markers.
From-SVN: r103662
+2005-08-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/23639
+ * semantics.c (qualified_name_lookup_error): Do not complain again
+ on invalid scope.
+
2005-08-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/23586
void
qualified_name_lookup_error (tree scope, tree name, tree decl)
{
- if (TYPE_P (scope))
+ if (scope == error_mark_node)
+ ; /* We already complained. */
+ else if (TYPE_P (scope))
{
if (!COMPLETE_TYPE_P (scope))
error ("incomplete type %qT used in nested name specifier", scope);
+2005-08-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/23639
+ * g++.dg/template/ttp5.C: Adjust error markers.
+
2005-08-30 Andrew Pinski <pinskia@physics.uc.edu>
PR testsuite/23609
};
template <int n> struct D {
- enum { v = C<A<n>::B>::v }; // { dg-error "mismatch|class template|not a member" }
+ enum { v = C<A<n>::B>::v }; // { dg-error "mismatch|class template" }
};