Mercurial > projects > dstress
annotate run/integer_literal_binary_04.d @ 958:80e1b85295b3
DMD-0.154 review
author | thomask |
---|---|
date | Thu, 13 Apr 2006 07:34:32 +0000 |
parents | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.integer_literal_binary_04; | |
6 | |
28 | 7 int main(){ |
958 | 8 static assert( 0b101L == 5); |
9 static assert( 0b101L.sizeof == long.sizeof); | |
10 static assert( 0b101L.min == long.min); | |
11 static assert( 0b101L.max == long.max); | |
28 | 12 return 0; |
13 } | |
14 |