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++.other
/
access4.C
blob
7cf472fb980d7f7a2122175aead646816c49b87d
1
// Build don't link:
2
3
struct A { // ERROR - inaccessible
4
static int i;
5
};
6
7
struct B : private A { };
8
9
struct C : public B {
10
int f () { return A::i; } // ERROR - context
11
};