654
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ <jmjmak@utu.invalid.fi>
|
|
6 // @date@ 2005-08-31
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4903
|
654
|
8
|
|
9 // __DSTRESS_ELINE__ 27
|
|
10
|
|
11 module dstress.nocompile.o.opCmp_06_L;
|
|
12
|
|
13 interface Interface{
|
|
14 int test(int);
|
|
15 }
|
|
16
|
|
17 class Class : Interface{
|
|
18 int test(int i){
|
|
19 return ++i;
|
|
20 }
|
|
21 }
|
|
22
|
|
23 void main(){
|
|
24 Interface a = new Class();
|
|
25 Interface b = new Class();
|
|
26
|
|
27 assert(a !< b);
|
|
28 } |