140
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
0
|
4
|
|
5 // @author@ Walter <newshound@digitalmars.com>
|
|
6 // @date@ 2004-08-16
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=1376
|
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 }
|