Mercurial > projects > dstress
annotate nocompile/cast_03.d @ 338:1f6cf5ccfbc9
1) updated rules to dmd-0.119
2) added __DSTRESS_ELINE__ tags
author | thomask |
---|---|
date | Mon, 21 Mar 2005 20:45:57 +0000 |
parents | a33ad7189d21 |
children | b8c0195059d9 |
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 |
338 | 9 // __DSTRESS_ELINE__ 27 |
10 | |
11 module dstress.nocompile.cast_03; | |
0 | 12 |
13 interface MyInterface{ | |
14 } | |
15 | |
16 class MyClass : MyInterface { | |
17 } | |
18 | |
19 int main(){ | |
20 MyClass c; | |
21 c = new MyClass(); | |
22 | |
23 MyInterface i; | |
24 i = c; | |
25 | |
26 Object o; | |
27 o = i; | |
28 return 0; | |
29 } |