Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test16013b.d

raw
1 // https://issues.dlang.org/show_bug.cgi?id=16013
2
3 S s; /* Only this line has changed from above. */
4
5 struct RefCounted
6 {
7 void opAssign(RefCounted rhs) {}
8 void opAssign(S rhs) {}
9 S refCountedPayload() { return S.init; }
10 alias refCountedPayload this;
11 }
12
13 struct S { RefCounted s; }