repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility6.C
blob
85f47b5f89dada9020e325c0a5f5ab3364be30f2
1
// Build don't link:
2
// GROUPS passed visibility
3
class bottom
4
{
5
public:
6
int b; // ERROR - private
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
};