[svn r133] Fixed some problems with inlining not happening :P

Fixed problems with certain cases of deeply nested classes/functions.
This commit is contained in:
Tomas Lindquist Olsen
2007-12-28 22:55:24 +01:00
parent f420bc1265
commit 5eb88f9e80
17 changed files with 263 additions and 59 deletions

32
test/nested7.d Normal file
View File

@@ -0,0 +1,32 @@
module nested7;
void main()
{
int i;
i = 52;
printf("i = %d\n", i);
void func()
{
i++;
void func2()
{
i++;
void func3()
{
i++;
}
func3();
}
func2();
}
func();
printf("i = %d\n", i);
assert(i == 55);
}