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

@mustuse struct S
{
    ref S opOpAssign(string op)(S rhs) return
    {
        return this;
    }
}

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