view nocompile/opEquals_03.d @ 1107:afccd35b0bd3

[Issue 288] type of opEquals Thomas Kuehne <thomas-dloop@kuehne.cn> 2006-08-15 news:bug-288-3@http.d.puremagic.com/issues/
author thomask
date Tue, 15 Aug 2006 12:13:49 +0000
parents 9e0847cf535a
children b8c0195059d9
line wrap: on
line source

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

// @author@	Uwe Salomon <post@uwesalomon.de>
// @date@	2005-04-08
// @uri@	news:opsow0pmwb6yjbe6@sandmann.maerchenwald.net

// __DSTRESS_ELINE__ 21

module dstress.nocompile.opEquals_03;

struct TestStruct{
	bool opEquals(TestStruct[] t){ // no overload for TestStruct present
		return 0;
	}
}

int main(){
	TestStruct a, b;
	if(a==b){
		assert(0);
	}
	return 0;
}