Mercurial > projects > dstress
annotate nocompile/cast_03.d @ 140:a33ad7189d21
1) news:// -> news:
2) nttp://.../...:... -> nntp://.../.../...
3) added missing mime types
4) added line ending styles
5) added missing keywords
author | thomask |
---|---|
date | Tue, 16 Nov 2004 16:00:10 +0000 |
parents | 3414705c41ac |
children | 1f6cf5ccfbc9 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
0 | 4 |
5 // @author@ Walter <newshound@digitalmars.com> | |
6 // @date@ 2004-08-16 | |
140 | 7 // @uri@ news:cfpk7u$1qgs$1@digitaldaemon.com |
0 | 8 |
9 | |
10 interface MyInterface{ | |
11 } | |
12 | |
13 class MyClass : MyInterface { | |
14 } | |
15 | |
16 int main(){ | |
17 MyClass c; | |
18 c = new MyClass(); | |
19 | |
20 MyInterface i; | |
21 i = c; | |
22 | |
23 Object o; | |
24 o = i; | |
25 return 0; | |
26 } |