view test/bug1.d @ 75:ab8f5ec40a14 trunk

[svn r79] Updated the rebuild profile to link bitcode libraries with -lib
author lindquist
date Wed, 31 Oct 2007 04:55:48 +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); }