comparison tests/code/cast_1.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 int main()
3 {
4 byte y = 44;
5
6 int b = cast(int)y * 66;
7
8 if(b == 2904)
9 return 0;
10 else
11 return 1;
12 }