annotate run/integer_literal_binary_07.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents f87ba6507260
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
f87ba6507260 added missing meta-data
thomask
parents: 28
diff changeset
1 // $HeadURL$
f87ba6507260 added missing meta-data
thomask
parents: 28
diff changeset
2 // $Date$
f87ba6507260 added missing meta-data
thomask
parents: 28
diff changeset
3 // $Author$
f87ba6507260 added missing meta-data
thomask
parents: 28
diff changeset
4
f87ba6507260 added missing meta-data
thomask
parents: 28
diff changeset
5 module dstress.run.integer_literal_binary_07;
f87ba6507260 added missing meta-data
thomask
parents: 28
diff changeset
6
28
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
7 int main(){
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
8 assert( 0b101LU == 5);
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
9 assert( 0b101LU.sizeof == ulong.sizeof);
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
10 assert( 0b101LU.min == ulong.min);
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
11 assert( 0b101LU.max == ulong.max);
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
12 return 0;
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
13 }
17dbcb50e9a5 added binary and hexadecimal integer literal tests
thomask
parents:
diff changeset
14