Mercurial > projects > ldc
view test/bug1.d @ 274:9f228c1e5311 trunk
[svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
Test results for current revision added.
author | ChristianK |
---|---|
date | Thu, 19 Jun 2008 13:54:31 +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); }