Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
shared_destructor.d
blob: 534bb4c7b7da08f3d91cd4c51b542a57b9eb8c85 [
file
] [
log
] [
blame
]
struct
MaybeShared
{
this
(
this
T
)()
{
}
~
this
()
{
}
}
void
main
()
{
{
auto
aboutToDie
=
MaybeShared
();
}
{
auto
aboutToDie
=
shared
MaybeShared
();
}
}