Mercurial > projects > dang
view 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 |
line wrap: on
line source
int main() { byte y = 44; int b = cast(int)y * 66; if(b == 2904) return 0; else return 1; }