comparison test/nested9.d @ 129:8096ba7082db trunk

[svn r133] Fixed some problems with inlining not happening :P Fixed problems with certain cases of deeply nested classes/functions.
author lindquist
date Fri, 28 Dec 2007 22:55:24 +0100
parents
children d9d5d59873d8
comparison
equal deleted inserted replaced
128:e5fe8521bbfa 129:8096ba7082db
1 module nested9;
2
3 void main()
4 {
5 int i = 42;
6 int func()
7 {
8 return i + 1;
9 }
10 int j = func();
11 printf("j = %d\n", j);
12 assert(j == 43);
13 }