Mercurial > projects > dstress
annotate run/integer_literal_binary_06.d @ 961:2ab8decdc8a0
literal fixes for DMD-0.154
author | thomask |
---|---|
date | Fri, 14 Apr 2006 07:20:52 +0000 |
parents | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.integer_literal_binary_06; | |
6 | |
28 | 7 int main(){ |
961 | 8 assert( 0b101uL == 5); |
9 assert( 0b101uL.sizeof == ulong.sizeof); | |
10 assert( 0b101uL.min == ulong.min); | |
11 assert( 0b101uL.max == ulong.max); | |
28 | 12 return 0; |
13 } | |
14 |