view test/goto1.d @ 289:17d3b3236334 trunk

[svn r310] Fixed a problem with incomplete types and templates in typeinfo code.
author lindquist
date Sat, 21 Jun 2008 16:22:29 +0200
parents 77cdca8c210f
children
line wrap: on
line source

module goto1;

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