Mercurial > projects > ldc
view test/bug1.d @ 74:eb379601d445 trunk
[svn r78] Removed the useless pragmas
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 04:05:38 +0100 |
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); }