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
2013-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr47053.C
blob
186e3a7ad10e858f66a2505e0313b5071e82bc85
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fnon-call-exceptions" } */
3
struct A
4
{
5
int i;
6
virtual ~A ()
7
{}
8
};
9
10
struct B : virtual A
11
{};
12
13
struct C : public B
14
{
15
C ();
16
~C (){}
17
};
18
19
void foo ()
20
{
21
C c;
22
}