repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (163495:164578).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr45316.C
blob
74ad30ead6eb2e1235d9bf87f7e4dbbf495776fc
1
// { dg-do compile }
2
// { dg-options "-O1 -ftree-pre -fnon-call-exceptions" }
3
4
struct A
5
{
6
int i;
7
};
8
9
struct B : A
10
{
11
int i[6];
12
B (int = 0) : A ()
13
{
14
m ();
15
}
16
int m ();
17
};
18
19
struct C : B
20
{
21
};
22
23
void
24
foo ()
25
{
26
new C ();
27
}
28