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

34 lines
338 B
D

// https://issues.dlang.org/show_bug.cgi?id=22365
class DrawableCache
{
Ref _nullDrawable;
this()
{
debug Log;
}
}
class DrawableCacheEmpty
{
Ref _nullDrawable;
this() {}
}
struct Ref
{
~this()
{
}
}
void foo()
{
try
debug Log;
catch (Exception)
assert(false);
}