view test/comma.d @ 134:0dec7b3727ea trunk

[svn r138] forgot the latest tests
author lindquist
date Mon, 14 Jan 2008 05:32:24 +0100
parents c53b6e3fe49a
children
line wrap: on
line source

module comma;

void main()
{
    int i=0,j=0;
    for (; i<10; i++,j++)
    {
    }
    assert(i == 10);
    assert(j == 10);
}