Mercurial > projects > ldc
view test/staticvars.d @ 39:fd5e8bbfcb25 trunk
[svn r43] Fixed the rebuild profile to be able to build sdldemo1.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 06:21:31 +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); }