diff run/super_08.d @ 190:f29443c7054c

1) super() 2) "=" -> ":=" in the Makefile Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> 200-12-10 news:sr8p82-lu3.ln1@kuehne.cn nntp://digitalmars.com/digitalmars.D.bugs/2528
author thomask
date Fri, 10 Dec 2004 19:13:38 +0000
parents
children 7b78583d1f80
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/super_08.d	Fri Dec 10 19:13:38 2004 +0000
@@ -0,0 +1,29 @@
+// $HeadURL$
+// $Date$
+// $Base$
+
+// @author@     Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
+// @date@       200-12-10
+// @uri@        news:sr8p82-lu3.ln1@kuehne.cn
+// @url@        nntp://digitalmars.com/digitalmars.D.bugs/2528
+
+module dstress.run.super_08;
+
+int dummy;
+
+class Parent{
+	this(){
+		dummy++;
+	}
+}
+
+class Child{
+	this(){
+		super();
+	}
+}
+
+int main(){
+	Child o = new Child();
+	return dummy-1;
+}