Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr64988.C
blob: b9cf0e004f5ae11bc9eeb62999ec9741362ab425 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-O -fdeclone-ctor-dtor" }
struct
A
{
virtual
~
A
();
};
struct
B
:
virtual
A
{};
struct
C
:
virtual
A
{};
struct
D
:
B
,
C
{};
D d
;