OSDN Git Service

/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / using7.C
1 // { dg-do assemble  }
2
3 class A {
4 protected:
5   static void f() {};
6 };
7
8 class B : A {
9 public:
10   using A::f;
11   void g() {
12     f();
13     A::f();
14   }
15   struct C {
16     void g() {
17       f();
18       A::f();
19     }
20   };
21 };