view test/aa1.d @ 124:a939ec89fc72 trunk

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

module aa1;

void main()
{
    int[int] aai;
    assert(aai is null);
    aai[0] = 52;
    assert(aai !is null);
    int i = aai[0];
    assert(i == 52);
    aai[32] = 123;
    int j = aai[32];
    assert(i == 52);
    assert(j == 123);
}