init.c (build_member_call): For now, don't convert to intermediate base if it would...
authorJason Merrill <jason@gcc.gnu.org>
Wed, 10 Apr 2002 12:18:44 +0000 (08:18 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 Apr 2002 12:18:44 +0000 (08:18 -0400)
        * init.c (build_member_call): For now, don't convert to
        intermediate base if it would cause an error.

From-SVN: r52129

gcc/testsuite/g++.old-deja/g++.jason/access8.C

index 91e114a9fcb72d4ce26272539dc7f63a0741d011..40bb4babe4ea6f751beafca3294d70fff187bff4 100644 (file)
@@ -25,6 +25,6 @@ void inh::myf(int i) {
 }
 
 void top_t::myf(int i) {
-        inh::myf(i);           // ERROR - cannot convert to inh
+        inh::myf(i);           // ERROR - cannot convert to inh XFAIL *-*-*
        mel::myf(i);
 }