view test/comma.d @ 277:90a8c798b0db trunk

[svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality.
author lindquist
date Fri, 20 Jun 2008 22:09:04 +0200
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);
}