Mercurial > projects > dstress
view run/cast_05.d @ 70:5f98d4a33d49
1) review of all test cases with unexpected results (except encoding and html/xml)
2) updated todo
author | thomask |
---|---|
date | Sat, 23 Oct 2004 22:47:47 +0000 |
parents | 3414705c41ac |
children | a33ad7189d21 |
line wrap: on
line source
// @author@ Nick <Nick_member@pathlink.com> // @date@ 2004-08-06 // @uri@ news://cf0mo2$rfi$1@digitaldaemon.com // @url@ nttp://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; }