FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access4.C
blob7cf472fb980d7f7a2122175aead646816c49b87d
1 // Build don't link:
3 struct A { // ERROR - inaccessible
4   static int i;
5 };
7 struct B : private A { };
9 struct C : public B {
10   int f () { return A::i; } // ERROR - context