(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test23433.d
// https://issues.dlang.org/show_bug.cgi?id=23433
module object;

class Throwable { }
class Exception : Throwable { this(immutable(char)[]) { } }

// Needed to lower `new Exception("ice")` to it.
T _d_newclassT(T)()
if (is(T == class))
{
    return null;
}

void test23433()
{
    try
    {
        throw new Exception("ice");
    }
    finally
    {
    }
}