Mercurial > projects > ldc
view test/staticvars.d @ 279:a137ed004205 trunk
[svn r300] Removed some win32 stuff that was causing problems on mingw32.
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 22:25:07 +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); }