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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
nest11.C
blob
0c6d475de353a6916f501acf49b97fdb117092c0
1
// { dg-do assemble }
2
// GROUPS passed nested-classes
3
class A {
4
int x;
5
6
struct B {
7
int x;
8
};
9
struct C;
10
friend struct C;
11
struct C {
12
int bug (A::B &y);
13
};
14
};
15
16
int
17
A::C::bug (A::B &y)
18
{
19
return y.x;
20
}
21