view test/bug7.d @ 138:aeddd4d533b3 trunk

[svn r142] minor fix to dynamic casts. added a few missed files.
author lindquist
date Fri, 18 Jan 2008 20:13:19 +0100
parents 4648206ca213
children
line wrap: on
line source

module bug7;

class love { }
void bug() {
    love[] child;
    child.length=1;
    assert(child[0] is null);
    child[0]=null;
    assert(child[0] is null);
}
void main()
{
    bug();
}