annotate test/bug2.d @ 27:92408a3a2bac trunk

[svn r31] * Fixed returning through hidden pointer was unable to report back the return value * Fixed removed some litter instructions sometimes produced by constructor calls
author lindquist
date Thu, 04 Oct 2007 11:39:53 +0200
parents
children
rev   line source
lindquist@27 1 module bug2;
lindquist@27 2 struct Vec { Vec barf() { return Vec(); } }
lindquist@27 3 class test { this(Vec whee) { } }
lindquist@27 4 void main() { Vec whee; new test(whee.barf()); }