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
/
opt
/
local1.C
blob
9cecaee6f2ad4b52de1c90bcfac99fb957074b30
1
// { dg-options "-O" }
2
3
struct Outer {
4
struct Inner { virtual bool f() = 0; };
5
void g(Inner &) const;
6
};
7
8
inline void h(const Outer &o)
9
{
10
struct Local : public Outer::Inner {
11
virtual bool f() {};
12
};
13
Local l;
14
o.g(l);
15
}
16
17
void f(Outer &req) {
18
h (req);
19
}
20