annotate run/cast_16.d @ 1383:52c9e86b6486

@url@ -> @uri@
author thomask
date Sun, 04 Mar 2007 13:07:35 +0000
parents 7aa29e681c0a
children d3a3e0c251d8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
240
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
1 // $HeadURL$
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
2 // $Date$
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
3 // $Author$
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
4
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
5 // @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org>
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
6 // @date@ 2005-01-18
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
7 // @uri@ news:csk4ef$2njc$1@digitaldaemon.com
1383
52c9e86b6486 @url@ -> @uri@
thomask
parents: 240
diff changeset
8 // @uri@ nntp://news.digitalmars.com/digitalmars.D.bugs/2719
240
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
9
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
10 module dstress.run.cast_16;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
11
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
12 int main(){
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
13 real r = 1.0;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
14 ulong l = cast(ulong) r;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
15 assert( l == 1);
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
16 return 0;
7aa29e681c0a bulk offline update
thomask
parents:
diff changeset
17 }