changeset 345:d249b963c64c

Tom S <h3r3tic@remove.mat.uni.torun.pl> 2005-03-20 news:d1kc3u$ubc$1@digitaldaemon.com
author thomask
date Tue, 22 Mar 2005 08:05:11 +0000
parents 235f2e69586b
children 55d03895784e
files run/interface_12.d
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/interface_12.d	Tue Mar 22 08:05:11 2005 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Tom S <h3r3tic@remove.mat.uni.torun.pl>
+// @date@	2005-03-20
+// @uri@	news:d1kc3u$ubc$1@digitaldaemon.com
+
+module dstress.run.interface_12;
+
+interface IParent{
+}
+
+interface IChild : IParent{
+}
+
+class MyClass : IChild{
+}
+
+void main(){
+        IChild b = new MyClass();
+	Object o = cast(Object)b;
+	return 0;
+}