]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
update
authorJason Merrill <jason@gcc.gnu.org>
Sun, 13 Feb 2000 19:07:43 +0000 (14:07 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 13 Feb 2000 19:07:43 +0000 (14:07 -0500)
From-SVN: r31955

gcc/testsuite/g++.old-deja/g++.jason/access15.C
gcc/testsuite/g++.old-deja/g++.law/access5.C
gcc/testsuite/g++.old-deja/g++.law/visibility25.C

index 4380998521f3149959cbe1ed4b042fb6d1450065..1149a94931b7dd61a2b1a9986c29e685c1ccf20f 100644 (file)
@@ -10,7 +10,7 @@ struct Z {
 struct A : private Z { };
 struct B : public A
 {
-    Z foo;
+    ::Z foo;
     B();
     B(const B&);
 };
index 8d25ed2c6a7cfc83f3fae23e22243dad5d78cb21..4c20da0b3f75fb4922b11e496fefc14113e63580 100644 (file)
@@ -13,12 +13,12 @@ public:
 protected:
   class nested_protected { int x; };
 private:
-  class nested_private { int x; };
+  class nested_private { int x; }; // ERROR - private
 };
 
 class derived : public enclose {
   nested_public obj1;     // ok
   nested_protected obj2;  // ok
-  nested_private obj3;    // error// ERROR - .* , XFAIL *-*-*
+  nested_private obj3;    // error// ERROR - in this context
 };
 
index 76ca8d8b402bb3a3dc0687cfa98a7582489b9c78..607e25a00ce62b6d3b386ed6d4e9b3639b6025bf 100644 (file)
@@ -22,5 +22,5 @@ public:
         C(void) : B(), a() {}
 
 private:
-        A a;
+        ::A a;
 };