view test/aa2.d @ 320:d772927ca496 trunk

[svn r341] Fix all regressions between [332] and [340]: - fixed assert on empty catch body - fixed(?) typedefed classes in catch specification - fixed assert with catchall Added some documentation.
author ChristianK
date Sat, 05 Jul 2008 13:05:29 +0200
parents 5ab8e92611f9
children
line wrap: on
line source

module aa2;

void main()
{
    long[float] aa;
    long* p = 2.0f in aa;
    assert(!p);
    aa[4f] = 23;
    p = 4f in aa;
    assert(p);
    assert(*p == 23);
}