view test/bug23.d @ 76:9e1bd80a7e98 trunk

[svn r80] Fixed union literals
author lindquist
date Wed, 31 Oct 2007 07:24:02 +0100
parents 6fcc08a4d406
children d9d5d59873d8
line wrap: on
line source

module bug23;
void main()
{
    int i;
    delegate {
        i++;
        delegate {
            i++;
        }();
    }();
    printf("%d\n", i);
    assert(i == 2);
}