view test/multiarr3.d @ 124:a939ec89fc72 trunk

[svn r128] function local typedefs were not working
author lindquist
date Wed, 28 Nov 2007 03:34:37 +0100
parents b688ad419f8c
children
line wrap: on
line source

module multiarr3;

void main()
{
    static int[2][2] arr = [[1,2],[3,4]];
    assert(arr[0][0] == 1);
    assert(arr[0][1] == 2);
    assert(arr[1][0] == 3);
    assert(arr[1][1] == 4);
}