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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr69729_0.C
blob
b736406e0cbed20ae89c0784b0c15eb82382da09
1
/* { dg-lto-do link } */
2
/* { dg-require-effective-target mpx } */
3
/* { dg-lto-options {{-fcheck-pointer-bounds -mmpx -flto -flto-partition=max}} } */
4
5
class cl1
6
{
7
public:
8
virtual ~cl1 () { };
9
};
10
11
class cl2
12
{
13
public:
14
virtual ~cl2 () { };
15
};
16
17
class cl3 : cl1, cl2
18
{
19
};
20
21
class cl4 : cl3
22
{
23
public:
24
~cl4 ();
25
};
26
27
cl4::~cl4 ()
28
{
29
}
30
31
int main (int argc, char **argv)
32
{
33
cl4 c;
34
return 0;
35
}