Mercurial > projects > ldc
view test/staticvars.d @ 231:61aa721a6b7f trunk
[svn r247] fixed accessing global symbols from inline asm.
author | lindquist |
---|---|
date | Sun, 08 Jun 2008 01:07:58 +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); }