changeset 332:7b78583d1f80

Object has no ctor Walter <walter@digitalmars.com> 2005-03-17 news:001d01c52b95$f3cc6f70$0200a8c0@colossus
author thomask
date Fri, 18 Mar 2005 09:59:06 +0000
parents a1dc98dd4ad2
children e57cee2faf02
files nocompile/super_06.d run/super_06.d run/super_07.d run/super_08.d run/super_10.d
diffstat 5 files changed, 24 insertions(+), 67 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/super_06.d	Fri Mar 18 09:59:06 2005 +0000
@@ -0,0 +1,23 @@
+// $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
+
+// Object has no constructor
+
+module dstress.nocompile.super_06;
+
+class MyClass : Object{
+	this(){
+		super();
+	}
+}
+
+int main(){
+	MyClass o = new MyClass();
+	return 0;
+}
--- a/run/super_06.d	Fri Mar 18 08:09:09 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// $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_06;
-
-class MyClass : Object{
-	this(){
-		super();
-	}
-}
-
-int main(){
-	MyClass o = new MyClass();
-	return 0;
-}
--- a/run/super_07.d	Fri Mar 18 08:09:09 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-// $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_07;
-
-class Parent{
-}
-
-class Child : Parent {
-	this(){
-		super();
-	}
-}
-
-int main(){
-	Child o = new Child();
-	return 0;
-}
--- a/run/super_08.d	Fri Mar 18 08:09:09 2005 +0000
+++ b/run/super_08.d	Fri Mar 18 09:59:06 2005 +0000
@@ -17,7 +17,7 @@
 	}
 }
 
-class Child{
+class Child : Parent{
 	this(){
 		super();
 	}
--- a/run/super_10.d	Fri Mar 18 08:09:09 2005 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	zwang <nehzgnaw@gmail.com>
-// @date@	2005-01-23
-// @uri@	news:ct0lj6$si1$1@digitaldaemon.com
-// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2744
-
-module dstress.run.super_10;
-
-class MyClass{
-	this(){
-		super();
-	}
-}
-
-int main(){
-	MyClass c = new MyClass();
-	return 0;
-}
\ No newline at end of file