dmd/compiler/test/compilable/test18099.d
2022-07-09 18:53:07 +02:00

19 lines
205 B
D

/* REQUIRED_ARGS: -betterC
*/
// https://issues.dlang.org/show_bug.cgi?id=18099
struct D
{
static struct V
{
~this() { }
}
V get()
{
V v;
return v;
}
}