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
/
inherit
/
thunk4.C
blob
a6e913e59e3454b5993c33501b30f6e3e2aa6451
1
// PR c++/21123
2
3
struct A
4
{
5
A( const A &a);
6
const A& operator=( const A& a);
7
};
8
9
struct B
10
{
11
virtual A f();
12
};
13
14
struct C : virtual B
15
{
16
virtual A f();
17
A a;
18
};
19
20
A C::f()
21
{
22
return a;
23
}