FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / visibility6.C
blob85f47b5f89dada9020e325c0a5f5ab3364be30f2
1 // Build don't link: 
2 // GROUPS passed visibility
3 class bottom
5 public:
6   int b; // ERROR - private
7 };
8 class middle : private bottom
10 public:
11   void foo () { b; }
13 class top : public middle
15 public:
16   void bar () { b; }// ERROR - .*