view run/creal_09.d @ 398:0728e025bd4b

added dmd-0.120/Linux results
author thomask
date Wed, 06 Apr 2005 21:53:12 +0000
parents f87ba6507260
children 8f24d8aa2308
line wrap: on
line source

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

module dstress.run.creal_09;

int main(){
	creal a = 1.2L;
	assert(a.re == 1.2L);
	assert(a.im == 0.0L);
	a=9.8Li;
	assert(a.re == 0.0L);
	assert(a.im == 9.8L);
	a=1.2L+9.8Li;
	assert(a.re == 1.2L);
	assert(a.im == 9.8L);
	return 0;
}