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++.jason
/
access6.C
blob
24676d4050b38b65e1dad0ed806f00df1ce068c7
1
// Simple testcase for access control.
2
// Build don't link:
3
4
class A {
5
public:
6
void f ();
7
};
8
9
class B: protected A { };
10
class C: protected B {
11
void g() { f (); }
12
};