Mercurial > projects > dstress
view run/opShrAssign_02.d @ 414:558f2ca8d898
type.max >> 1
tetsuya <tetsuya_member@pathlink.com>
2005-04-08
news:d36v0t$g3b$1@digitaldaemon.com
author | thomask |
---|---|
date | Sat, 09 Apr 2005 06:25:37 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ tetsuya <tetsuya_member@pathlink.com> // @date@ 2005-04-08 // @uri@ news:d36v0t$g3b$1@digitaldaemon.com module dstress.run.opShrAssign_02; int main(){ int mask = int.max; mask >>= 1; assert(mask == (int.max >> 1)); return 0; }