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
2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr59918.C
blob
b30d33eb369b96c6fab0a037d8e245069ae29f79
1
/* { dg-do compile } */
2
struct E {
3
~E();
4
virtual void f() const;
5
};
6
struct B : E {};
7
struct G : virtual B {};
8
struct A {
9
virtual ~A();
10
};
11
struct J : E {
12
void f() const {
13
E *p = 0;
14
p->f();
15
}
16
};
17
J h;
18
struct I : A, G, virtual B {};