Mercurial > projects > ldc
view test/bug1.d @ 288:ba4e4298009a trunk
[svn r309] Remove the large dstress test result files from svn repository.
author | ChristianK |
---|---|
date | Sat, 21 Jun 2008 14:06:00 +0200 |
parents | 77e3d1ddae3f |
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); }