d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test16013b.d
blob97a58e32c59e63c2bf24baef06e56f346c1f567b
1 // https://issues.dlang.org/show_bug.cgi?id=16013
3 S s; /* Only this line has changed from above. */
5 struct RefCounted
7 void opAssign(RefCounted rhs) {}
8 void opAssign(S rhs) {}
9 S refCountedPayload() { return S.init; }
10 alias refCountedPayload this;
13 struct S { RefCounted s; }