view run/cast_05.d @ 1383:52c9e86b6486

@url@ -> @uri@
author thomask
date Sun, 04 Mar 2007 13:07:35 +0000
parents a33ad7189d21
children 6e4063f99377
line wrap: on
line source

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

// @author@	Nick <Nick_member@pathlink.com>
// @date@	2004-08-06
// @uri@	news:cf0mo2$rfi$1@digitaldaemon.com
// @uri@	nntp://digitalmars.com/digitalmars.D.bugs/1296

module dstress.run.cast_05;

int main(){
	long l = cast(long) 12.0;
	long L = 12L;
	assert(l == L);

	ulong u = cast(ulong) 12.0;
	ulong U = 12U;
	assert(U == u);
	
	return 0;
}