Mercurial > projects > dstress
annotate run/integer_literal_binary_04.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | 80e1b85295b3 |
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 |