(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
dlangui_crash.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);
}