view test/multiarr2.d @ 283:9bb48fb57a7d trunk

[svn r304] Fix associative array literals by always reserving a zero inited temporary for them.
author ChristianK
date Sat, 21 Jun 2008 00:54:55 +0200
parents b688ad419f8c
children
line wrap: on
line source

module multiarr2;

void main()
{
    static float[1][2][3] arr;
    assert(arr[2][1][0] !<>= float.nan);
}