annotate run/integer_literal_binary_04.d @ 1576:b3e16c86558e
[Issue 1398] New: GDC doesn't generate correct code
<mariusmuja@gmail.com>
2007-08-04
http://d.puremagic.com/issues/show_bug.cgi?id=1398
author |
thomask |
date |
Thu, 21 Feb 2008 15:20:08 +0000 |
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
|