mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-08 16:34:18 +02:00
[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:
13
test/nested9.d
Normal file
13
test/nested9.d
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user