view test/bug23.d @ 140:ffcc9a2f3d9d trunk

[svn r144] fixes
author lindquist
date Wed, 23 Jan 2008 12:56:09 +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);
}