repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
friend9.C
blob
caf685c3eced4e43ad4e84554065575e68521102
1
// PR c++/25492
2
3
class Base {
4
public:
5
class Nested {};
6
};
7
8
class Derived:public Base {
9
public:
10
class Nested {
11
public:
12
void m();
13
};
14
class AnotherNested {
15
friend class Nested;
16
AnotherNested() {}
17
};
18
};
19
20
void Derived::Nested::m() {
21
Derived::AnotherNested instance;
22
23
}