view nocompile/o/opCmp_06_F.d @ 654:8f030a889677

<jmjmak@utu.invalid.fi> 2005-08-31 news:df4t72$27kf$1@digitaldaemon.com
author thomask
date Wed, 07 Sep 2005 22:34:23 +0000
parents
children b8c0195059d9
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	<jmjmak@utu.invalid.fi>
// @date@	2005-08-31
// @uri@	news:df4t72$27kf$1@digitaldaemon.com

// __DSTRESS_ELINE__ 27

module dstress.nocompile.o.opCmp_06_F;

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