comparison test/nested3.d @ 68:c4b3f5d2cd9b trunk

[svn r72] Calling a nested function that is not a delegate was not working.
author lindquist
date Sun, 28 Oct 2007 03:14:29 +0100
parents
children
comparison
equal deleted inserted replaced
67:f918f3e2e99e 68:c4b3f5d2cd9b
1 module nested3;
2
3 void main()
4 {
5 int i;
6 void test()
7 {
8 i = 3;
9 }
10 test();
11 assert(i == 3);
12 }