OSDN Git Service

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