annotate test/classes11.d @ 128:e5fe8521bbfa trunk

[svn r132] Added some tests. some will fail at the moment.
author lindquist
date Fri, 30 Nov 2007 17:12:08 +0100
parents
children d9d5d59873d8
rev   line source
lindquist@128 1 module classes11;
lindquist@128 2
lindquist@128 3 void main()
lindquist@128 4 {
lindquist@128 5 static class C
lindquist@128 6 {
lindquist@128 7 void func()
lindquist@128 8 {
lindquist@128 9 printf("Hello world\n");
lindquist@128 10 }
lindquist@128 11 }
lindquist@128 12
lindquist@128 13 scope c = new C;
lindquist@128 14 c.func();
lindquist@128 15 }