view tests/parser/shift_1.d @ 123:6a5f745d351c

Parsing <<, >> and >>>.
author Anders Johnsen <skabet@gmail.com>
date Sun, 25 May 2008 21:07:48 +0200
parents
children
line wrap: on
line source



int main()
{
    int x = 4;
    int y = 2;

    x = x << y;
    x = x >> y;
    x = x >>> y;
    return x;
}