(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test23142.d
// https://issues.dlang.org/show_bug.cgi?id=23142

struct Foo
{
    int x;

scope:
    void func()
    {
    }

    unittest
    {
    }

    static void func2()
    {
    }
}