Mercurial > projects > ldc
view test/nested3.d @ 162:1856c62af24b trunk
[svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked...
author | lindquist |
---|---|
date | Mon, 05 May 2008 00:56:53 +0200 |
parents | c4b3f5d2cd9b |
children |
line wrap: on
line source
module nested3; void main() { int i; void test() { i = 3; } test(); assert(i == 3); }