comparison test/nested5.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 e5fe8521bbfa
children d9d5d59873d8
comparison
equal deleted inserted replaced
128:e5fe8521bbfa 129:8096ba7082db
9 class C 9 class C
10 { 10 {
11 void func() 11 void func()
12 { 12 {
13 printf("Hello world %d\n", i++); 13 printf("Hello world %d\n", i++);
14 //i++;
14 } 15 }
15 } 16 }
16 17
17 scope c = new C; 18 scope c = new C;
18 c.func(); 19 c.func();
20 assert(i == 44);
19 } 21 }