Mercurial > projects > ldc
view tests/mini/nested3.d @ 998:ff22650d0ca3
Fixed debug info for globals in D2.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 26 Feb 2009 18:02:13 +0100 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module nested3; void main() { int i; void test() { i = 3; } test(); assert(i == 3); }