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
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
friend2.C
blob
3f5f2a7de8e37259199c82e74ea3202a89fa07d5
1
// { dg-do assemble }
2
3
void
4
f()
5
{
6
class Local_2 {
7
friend class Friend;
8
9
int i;
10
};
11
12
class Friend {
13
public:
14
void g() {
15
Local_2 l2;
16
l2.i = 3;
17
}
18
};
19
}