view test/bug1.d @ 198:17dc52256c58 trunk

[svn r214] test results for [210]
author ChristianK
date Mon, 12 May 2008 20:28:44 +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); }