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