mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-20 14:15:22 +02:00
[svn r132] Added some tests. some will fail at the moment.
This commit is contained in:
15
test/classes11.d
Normal file
15
test/classes11.d
Normal file
@@ -0,0 +1,15 @@
|
||||
module classes11;
|
||||
|
||||
void main()
|
||||
{
|
||||
static class C
|
||||
{
|
||||
void func()
|
||||
{
|
||||
printf("Hello world\n");
|
||||
}
|
||||
}
|
||||
|
||||
scope c = new C;
|
||||
c.func();
|
||||
}
|
||||
Reference in New Issue
Block a user