Mercurial > projects > dstress
annotate run/cast_05.d @ 140:a33ad7189d21
1) news:// -> news:
2) nttp://.../...:... -> nntp://.../.../...
3) added missing mime types
4) added line ending styles
5) added missing keywords
author | thomask |
---|---|
date | Tue, 16 Nov 2004 16:00:10 +0000 |
parents | 5f98d4a33d49 |
children | 52c9e86b6486 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
0 | 5 // @author@ Nick <Nick_member@pathlink.com> |
6 // @date@ 2004-08-06 | |
140 | 7 // @uri@ news:cf0mo2$rfi$1@digitaldaemon.com |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1296 | |
70
5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents:
1
diff
changeset
|
9 |
5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
thomask
parents:
1
diff
changeset
|
10 module dstress.run.cast_05; |
0 | 11 |
12 int main(){ | |
13 long l = cast(long) 12.0; | |
14 long L = 12L; | |
15 assert(l == L); | |
16 | |
17 ulong u = cast(ulong) 12.0; | |
18 ulong U = 12U; | |
19 assert(U == u); | |
20 | |
21 return 0; | |
22 } |