OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / access4.C
1 // { dg-do assemble  }
2 // Simple testcase for access control.
3
4 class A {
5 protected:
6   static int i;
7 };
8
9 class B: public A { };
10
11 class C: public B {
12 public:
13   void g () { B b; b.i; }
14 };