Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr47053.C
blob: 186e3a7ad10e858f66a2505e0313b5071e82bc85 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fnon-call-exceptions" } */
struct
A
{
int
i
;
virtual
~
A
()
{}
};
struct
B
:
virtual
A
{};
struct
C
:
public
B
{
C
();
~
C
(){}
};
void
foo
()
{
C c
;
}