(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
issue21813b.d
// https://issues.dlang.org/show_bug.cgi?id=21813
Target.OS defaultTargetOS()
{
    return Target.OS.linux;
}

struct Target
{
    enum OS { linux }
    OS os = defaultTargetOS();
    @property isPOSIX() scope @nogc { }
}