Mercurial > projects > ldc
view test/classes7.d @ 59:362825278842 trunk
[svn r63] Forgot lphobos/typeinfo2
author | lindquist |
---|---|
date | Thu, 25 Oct 2007 09:04:00 +0200 |
parents | ee302fe07296 |
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); }