blob: fc9650ebed5c3ab640e6605a5a779942ced7d5a9 [file] [log] [blame]
import core.attribute;
@mustuse struct S
{
ref S opUnary(string op)() return
{
return this;
}
}
void test()
{
S s;
++s;
--s;
s++;
s--;
}