view tests/code/cast_1.d @ 188:b3e0729c8524

Extra test
author Anders Halager <halager@gmail.com>
date Fri, 25 Jul 2008 12:55:38 +0200
parents 688b516408cd
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;
}