diff test/moduleinfo1.d @ 116:fd7ad91fd713 trunk

[svn r120] ModuleInfo implementation is now almost complete. Fixed some nasty static array-initializer bugs. Fixed bug in DtoArrayLen and DtoArrayPtr for full slices of static arrays.
author lindquist
date Sun, 25 Nov 2007 18:55:52 +0100
parents ccca1c13e13a
children d9d5d59873d8
line wrap: on
line diff
--- a/test/moduleinfo1.d	Sun Nov 25 03:58:55 2007 +0100
+++ b/test/moduleinfo1.d	Sun Nov 25 18:55:52 2007 +0100
@@ -1,11 +1,36 @@
 module moduleinfo1;
 
+// has static this
+import std.outofmemory;
+
+static this()
+{
+}
+
+static this()
+{
+}
+
+static ~this()
+{
+}
+
+static ~this()
+{
+}
+
+unittest
+{
+}
+
 class C
 {
 }
 
+class D : C
+{
+}
+
 void main()
 {
-    C c;
 }
-