view test/aa2.d @ 300:7b1040c76dd2 trunk

[svn r321] Fix bug in argument remapping functions.
author ChristianK
date Tue, 24 Jun 2008 22:27:55 +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);
}