view tests/code/while_1.d @ 12:6282db07115f

Added some ekstra tests, and allowed bool as a type
author Anders Halager <halager@gmail.com>
date Fri, 18 Apr 2008 13:58:27 +0200
parents
children
line wrap: on
line source

int main()
{
    int x = 10;
    while (x > 0)
        x = x - 1;
    return x;
}