[svn r132] Added some tests. some will fail at the moment.

This commit is contained in:
Tomas Lindquist Olsen
2007-11-30 17:12:08 +01:00
parent 0a226c956f
commit f420bc1265
3 changed files with 66 additions and 0 deletions

19
test/nested5.d Normal file
View File

@@ -0,0 +1,19 @@
module nested5;
void main()
{
int i = 42;
printf("Hello world %d\n", i++);
class C
{
void func()
{
printf("Hello world %d\n", i++);
}
}
scope c = new C;
c.func();
}