view test/bug23.d @ 63:2c39b5292cf3 trunk

[svn r67] Fixed ignore unittests instead of failing to compile
author lindquist
date Thu, 25 Oct 2007 10:05:21 +0200
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);
}