view test/bug23.d @ 75:ab8f5ec40a14 trunk

[svn r79] Updated the rebuild profile to link bitcode libraries with -lib
author lindquist
date Wed, 31 Oct 2007 04:55:48 +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);
}