blob: 97a58e32c59e63c2bf24baef06e56f346c1f567b [file] [log] [blame]
// https://issues.dlang.org/show_bug.cgi?id=16013
S s; /* Only this line has changed from above. */
struct RefCounted
{
void opAssign(RefCounted rhs) {}
void opAssign(S rhs) {}
S refCountedPayload() { return S.init; }
alias refCountedPayload this;
}
struct S { RefCounted s; }