Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test18000.d
blob: 9de33242e90c878b6cae8b687437e9ce55738ad3 [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -preview=dip1000
// https://issues.dlang.org/show_bug.cgi?id=18000
struct
File
{
@safe
@nogc
:
~
this
()
scope
{
}
void
*
f
;
}
void
test
()
@safe
@nogc
{
scope
File
x
;
x
=
File
();
}