view run/o/opEquals_06_E.d @ 1159:aeb3e001a812

[Issue 365] New: Regression: Bad code generation for floating point == and != <clugdbug@yahoo.com.au> 2006-09-24 news:bug-365-3@http.d.puremagic.com/issues/
author thomask
date Fri, 29 Sep 2006 08:11:05 +0000
parents
children
line wrap: on
line source

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

// @author@	<clugdbug@yahoo.com.au>
// @date@	2006-09-24
// @uri@	news:bug-365-3@http.d.puremagic.com/issues/
// @desc@	[Issue 365] New: Regression: Bad code generation for floating point == and !=

module dstress.run.o.opEquals_06_E;

int main(){
	double d;

	if(d != 0){
		if(d == 0){
			assert(0);
		}else{
			return 0;
		}
	}
	assert(0);
}