view test/goto1.d @ 43:eb7bf7b7972e trunk

[svn r47] fixed a problem with gdc 4.1
author lindquist
date Fri, 19 Oct 2007 15:26:09 +0200
parents 77cdca8c210f
children
line wrap: on
line source

module goto1;

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