diff run/cast_18.d @ 240:7aa29e681c0a

bulk offline update
author thomask
date Thu, 20 Jan 2005 19:39:40 +0000
parents
children 52c9e86b6486
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/cast_18.d	Thu Jan 20 19:39:40 2005 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Russ Lewis <spamhole-2001-07-16@deming-os.org>
+// @date@	2005-01-18
+// @uri@	news:csk4ef$2njc$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2719
+
+module dstress.run.cast_18;
+
+int main(){
+	real r = 1.0;
+	uint i = cast(uint) r;
+	assert(i == 1);
+	return 0;
+}