mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 19:03:13 +01:00
6 lines
195 B
D
6 lines
195 B
D
module bug1;
|
|
struct Foo { Foo opSub(ref Foo b) { return Foo(); } }
|
|
struct Bar { Foo whee; }
|
|
void test(ref Bar moo) { Foo nngh; auto plonk = nngh - moo.whee; }
|
|
void main() { Bar bar; test(bar); }
|