Mercurial > projects > dstress
annotate run/interface_12.d @ 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 | |
children | b8c0195059d9 |
rev | line source |
---|---|
345 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Tom S <h3r3tic@remove.mat.uni.torun.pl> | |
6 // @date@ 2005-03-20 | |
7 // @uri@ news:d1kc3u$ubc$1@digitaldaemon.com | |
8 | |
9 module dstress.run.interface_12; | |
10 | |
11 interface IParent{ | |
12 } | |
13 | |
14 interface IChild : IParent{ | |
15 } | |
16 | |
17 class MyClass : IChild{ | |
18 } | |
19 | |
20 void main(){ | |
21 IChild b = new MyClass(); | |
22 Object o = cast(Object)b; | |
23 return 0; | |
24 } |