Mercurial > projects > ldc
view tests/mini/bug1.d @ 1640:9bf06e02070b
Merge DMD 1.057.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 08 Mar 2010 21:39:20 +0100 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
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); }