annotate 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 |
rev |
line source |
414
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ tetsuya <tetsuya_member@pathlink.com>
|
|
6 // @date@ 2005-04-08
|
|
7 // @uri@ news:d36v0t$g3b$1@digitaldaemon.com
|
|
8
|
|
9 module dstress.run.opShrAssign_02;
|
|
10
|
|
11 int main(){
|
|
12 int mask = int.max;
|
|
13 mask >>= 1;
|
|
14 assert(mask == (int.max >> 1));
|
|
15 return 0;
|
|
16 }
|
|
17
|
|
18
|
|
19
|