(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
must_use_opassign.d
import core.attribute;

@mustuse struct S
{
    ref S opAssign(S rhs) return
    {
        return this;
    }
}

void test()
{
    S a, b;
    a = b;
}