view tests/code/while_1.d @ 208:41ccd50e7cbc

Added missing tests
author Anders Johnsen <skabet@gmail.com>
date Tue, 12 Aug 2008 18:21:06 +0200
parents 6282db07115f
children
line wrap: on
line source

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