Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
new6.C
blob: ecbafd13e6c0a1c85141807fa55278d8e29cdc50 [
file
] [
log
] [
blame
]
// { dg-options "-fkeep-inline-functions" }
struct
B1
{
virtual
~
B1
();
};
struct
B2
{
virtual
~
B2
();
};
struct
D
:
B1
,
B2
{};
struct
X
:
D
{
X
();
};
X
::
X
()
{
new
int
;
}