OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.brendan / visibility6.C
1 // Build don't link: 
2 // GROUPS passed visibility
3 class bottom
4 {
5 public:
6   int b;
7 };
8 class middle : private bottom
9 {
10 public:
11   void foo () { b; }
12 };
13 class top : public middle
14 {
15 public:
16   void bar () { b; }// ERROR - .*
17 };