mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 09:49:02 +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:
@@ -4,19 +4,19 @@ void main()
|
||||
{
|
||||
int i = 42;
|
||||
|
||||
printf("Hello world %d\n", i++);
|
||||
printf("main() %d\n", i++);
|
||||
|
||||
class C
|
||||
{
|
||||
void func()
|
||||
{
|
||||
printf("Hello world %d\n", i++);
|
||||
printf("C.func() %d\n", i++);
|
||||
|
||||
class C2
|
||||
{
|
||||
void func2()
|
||||
{
|
||||
printf("Hello world %d\n", i++);
|
||||
printf("C2.func2() %d\n", i++);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user