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