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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access5.C
blob
431ba416aacd33a10fea89057f9b03c0560bacf2
1
// { dg-do assemble }
2
3
class A
4
{
5
protected:
6
int i;
7
};
8
9
class B : private A
10
{
11
protected:
12
A::i;
13
};
14
15
struct C : public B {
16
friend int f(C *p);
17
};
18
19
int f(C *p) {
20
return p->i;
21
}
22