[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

13
test/nested9.d Normal file
View File

@@ -0,0 +1,13 @@
module nested9;
void main()
{
int i = 42;
int func()
{
return i + 1;
}
int j = func();
printf("j = %d\n", j);
assert(j == 43);
}