comparison tests/code/cast_2.d @ 69:688b516408cd new_gen

Added 3 new small tests.
author Anders Johnsen <skabet@gmail.com>
date Thu, 01 May 2008 19:26:22 +0200
parents
children
comparison
equal deleted inserted replaced
68:381975d76baf 69:688b516408cd
1
2
3
4 int main()
5 {
6 byte y = 44;
7
8 int b = y * cast(byte)66;
9
10 if(b == 88)
11 return 0;
12 else
13 return 1;
14 }