Mercurial > projects > ldc
view test/staticvars.d @ 198:17dc52256c58 trunk
[svn r214] test results for [210]
author | ChristianK |
---|---|
date | Mon, 12 May 2008 20:28:44 +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); }