view tests/mini/comma.d @ 928:1b10a9c6e3e8

Added X86-64 version. Needed significant changes.
author wilsonk@ubuntu
date Tue, 03 Feb 2009 12:35:00 -0700
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);
}