view nocompile/o/opCmp_06_O.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
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_O;

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);
}