repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr47714.C
blob
4ff2eeef0a46447784d6e1711e0baab32a3429e2
1
struct A { virtual ~A () {} };
2
struct B { virtual ~B () {} };
3
struct C { virtual const A *foo (int) const = 0; };
4
struct E : public B, public A { };
5
struct F : public C
6
{
7
virtual const E *foo (int) const;
8
};
9
void bar (int &);
10
11
const E *
12
F::foo (int x) const
13
{
14
bar (x);
15
return __null;
16
}