Mercurial > projects > ldc
view test/staticvars.d @ 216:3d022aa016ae trunk
[svn r232] Added dstress test results for rev [231] .
author | lindquist |
---|---|
date | Tue, 03 Jun 2008 22:32:59 +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); }