Files
ldc/tests/mini/nested14.d
Tomas Lindquist Olsen e31070a437 Fixed problems with nested 'this'. Fixes #39 .
Fixed problem with debug info order of intrinsic calls (func.start after declare).
2008-08-02 00:50:39 +02:00

28 lines
236 B
D

module mini.nested14;
extern(C) int printf(char*, ...);
class C
{
void foo()
{
void bar()
{
car();
}
bar();
}
void car()
{
printf("great\n");
}
}
void main()
{
scope c = new C;
c.foo();
}