view tests/mini/comma.d @ 1583:593f99fddd2f

basename => dirname, thanks Hxal
author Moritz Warning <moritzwarning@web.de>
date Tue, 22 Sep 2009 20:26:50 +0200
parents 1bb99290e03a
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);
}