Mercurial > projects > ldc
view test/classes7.d @ 247:56199753e637 trunk
[svn r264] Fixed debug info for global variables.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 17:49:30 +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); }