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++.jason
/
access2.C
blob
ee5c0eae07b83e0950bf0de4901c21046af6a3a7
1
// { dg-do assemble }
2
// Bug: g++ doesn't deal with friends also being derived classes.
3
4
class A {
5
int i;
6
friend class B;
7
};
8
9
class B : public A {
10
void f () { i = 1; }
11
};