view tests/parser/for_1.d @ 195:4e1a7265d620

Made a BuildTypes pass, to give all exp's a type.
author Anders Johnsen <skabet@gmail.com>
date Tue, 29 Jul 2008 15:50:24 +0200
parents 393a1f47a6d2
children
line wrap: on
line source


int main()
{
    int x = 0;
    for(int i = 0; i < 5; i = i + 1)
    {
        x = x + i;
    }
    return x;
}