PR c++/1255
* class.c (handle_using_decl): Robustify.
PR c++/1255
* g++.dg/lookup/using3.C: New test.
From-SVN: r68118
2003-06-17 Mark Mitchell <mark@codesourcery.com>
+ PR c++/1255
+ * class.c (handle_using_decl): Robustify.
+
PR c++/11105
* cp-tree.h (DECL_CONV_FN_TYPE): New method.
* mangle.c (struct globals): Remove internal_mangling_p.
tree flist = NULL_TREE;
tree old_value;
+ if (ctype == error_mark_node)
+ return;
+
binfo = lookup_base (t, ctype, ba_any, NULL);
if (! binfo)
{
+2003-06-17 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/1255
+ * g++.dg/lookup/using7.C: New test.
+
2003-06-17 Mark Mitchell <mark@codesourcery.com>
PR c++/11105
--- /dev/null
+template <typename T, bool=T::X> struct A
+{
+ int i;
+};
+
+template <typename T> struct B : A<T>
+{
+ using A<T>::i; // { dg-error "" }
+};
+
+B<void> b; // { dg-error "" }