diff tests/mini/norun_debug11.d @ 416:24ea9bf5f8b7

testing the new mini test runner features.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 28 Jul 2008 03:04:28 +0200
parents
children bac742d3a72d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/mini/norun_debug11.d	Mon Jul 28 03:04:28 2008 +0200
@@ -0,0 +1,33 @@
+module mini.norun_debug11;
+
+class C
+{
+}
+
+class D : C
+{
+    int i = 42;
+}
+
+class E : D
+{
+    float fp = 3.14f;
+}
+
+class F : E
+{
+    F f;
+}
+
+void main()
+{
+    auto c = new C;
+    auto d = new D;
+    auto e = new E;
+    auto f = new F;
+
+    auto ci = c.classinfo;
+
+    int* fail;
+    *fail = 0;
+}