view test/bug22.d @ 208:086e1aa99557 trunk

[svn r224] clean up temporaries after dstress has run
author ChristianK
date Tue, 13 May 2008 21:41:25 +0200
parents 6fcc08a4d406
children d9d5d59873d8
line wrap: on
line source

module bug22;

void main()
{
    int i;
    delegate {
        i = 42;
    }();
    printf("%d\n", i);
    assert(i == 42);
}