view test/aa5.d @ 287:00eb2c967c3a trunk

[svn r308] Really fixed multidimensional new expressions. the first length was bad in the resulting slice.
author lindquist
date Sat, 21 Jun 2008 05:03:42 +0200
parents 5ab8e92611f9
children
line wrap: on
line source

module aa5;

void main()
{
    int[int] aa;
    aa[42] = 1;
    int i = aa[42];
    assert(i == 1);
}