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
/
other
/
pr22003.C
blob
222ccac7bebdeaa6bd3482a265359844e05d1dfb
1
/* PR rtl-optimization/22003 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target freorder } */
4
/* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
5
6
struct c1
7
{
8
virtual ~c1();
9
};
10
class c4;
11
12
struct c2
13
{
14
virtual c4* func();
15
};
16
17
struct c3 : c1, c2
18
{
19
c4* func();
20
};
21
22
c4* c3::func()
23
{
24
}
25