Mercurial > projects > ldc
view tests/mini/classes7.d @ 1065:dc576c7e4b1e
Fix to make sure to create gen/ in build dir and unbreak build with older perl
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 08 Mar 2009 16:37:55 +0100 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module classes7; class C { int i=0; void f() { i=42; } void g() { f(); } } void main() { scope c = new C; c.g(); assert(c.i == 42); }