view tests/mini/goto1.d @ 1135:8ebbad15fc99

Remove struct padding which was making this test fail on 64-bit systems.
author Frits van Bommel <fvbommel wxs.nl>
date Tue, 24 Mar 2009 03:14:22 +0100
parents 1bb99290e03a
children
line wrap: on
line source

module goto1;

void main()
{
    int i;
    goto lbl;
    i++;
lbl:
    assert(i == 0);
}