view test/multiarr1.d @ 68:c4b3f5d2cd9b trunk

[svn r72] Calling a nested function that is not a delegate was not working.
author lindquist
date Sun, 28 Oct 2007 03:14:29 +0100
parents b688ad419f8c
children 61615fa85940
line wrap: on
line source

module multiarr1;

void main()
{
    int[16][16] a;
    a[10][13] = 42;
    assert(a[0][0] == 0);
    assert(a[10][13] == 42);
    {assert(*((cast(int*)a)+10*16+13) == 42);}
}