diff nocompile/super_06.d @ 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
children f87ba6507260
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;
+}