Mercurial > projects > dstress
view nocompile/o/opCmp_06_L.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <jmjmak@utu.invalid.fi> // @date@ 2005-08-31 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4903 // __DSTRESS_ELINE__ 27 module dstress.nocompile.o.opCmp_06_L; interface Interface{ int test(int); } class Class : Interface{ int test(int i){ return ++i; } } void main(){ Interface a = new Class(); Interface b = new Class(); assert(a !< b); }