view test/bug7.d @ 95:71b8fecdae38 trunk

[svn r99] Removed the ray demo. it's in test already (and not broken there)
author lindquist
date Mon, 12 Nov 2007 06:43:33 +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();
}