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
[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
covariant21.C
blob
42cdf8700811ebb966ec90f90602b0381119ab67
1
// PR c++/59645
2
3
struct A { virtual ~A(); };
4
struct B { virtual ~B(); };
5
struct C : A, B {};
6
7
struct X
8
{
9
virtual B* foo(volatile int);
10
};
11
12
struct Y : X
13
{
14
virtual C* foo(volatile int);
15
};
16
17
C* Y::foo(volatile int) { return 0; }