comparison nocompile/cast_03.d @ 0:3269e4627918

init dstress
author svnowner
date Sat, 25 Sep 2004 22:33:30 +0000
parents
children 3414705c41ac
comparison
equal deleted inserted replaced
-1:000000000000 0:3269e4627918
1 // $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/nocompile/cast_03.d,v 1.1 2004/08/20 23:42:43 th Exp $
2
3 // @author@ Walter <newshound@digitalmars.com>
4 // @date@ 2004-08-16
5 // @uri@ news://cfpk7u$1qgs$1@digitaldaemon.com
6
7
8 interface MyInterface{
9 }
10
11 class MyClass : MyInterface {
12 }
13
14 int main(){
15 MyClass c;
16 c = new MyClass();
17
18 MyInterface i;
19 i = c;
20
21 Object o;
22 o = i;
23 return 0;
24 }