view test/bug2.d @ 310:d20cf0dec9c1 trunk

[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.
author lindquist
date Sat, 28 Jun 2008 11:50:28 +0200
parents 92408a3a2bac
children
line wrap: on
line source

module bug2;
struct Vec { Vec barf() { return Vec(); } }
class test { this(Vec whee) { } }
void main() { Vec whee; new test(whee.barf()); }