Mercurial > projects > ldc
view test/staticvars.d @ 258:8dbddae09152 trunk
[svn r276] Fixed debug info for 'this' arg seemed to be broken.
author | lindquist |
---|---|
date | Thu, 12 Jun 2008 19:59:19 +0200 |
parents | 99737f94abfb |
children |
line wrap: on
line source
module staticvars; int func() { static int i; return i++; } void main() { assert(func() == 0); assert(func() == 1); }