FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / access1.C
blob0272c7ae1a9097a4ba9cfba8f7232dc2a0a61d8d
1 // Build don't link: 
2 // GROUPS passed access-control
3 class Base
5 protected:
6   virtual void DoSomething() = 0;
7 };
9 class Fibber : public Base
11 public:
12   void DoBP() {
13     DoSomething();
14   }
17 class Flat : public virtual Fibber
19 public:
20   void DoIt() {
21     DoSomething();
22   }