[Issue 3687] Array operation "slice times scalar" tramples over memory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 20 06:56:54 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3687



--- Comment #5 from Don <clugdbug at yahoo.com.au> 2010-01-20 06:56:52 PST ---
The original test case passes on D2, but here's a test case which fails on both
D1 and D2.
------
void main()
{
    float[66] array;
    array[] = 0;
    array[64] = 42;
    array[65] = 43;
    array[0..64] *= 2f;
    assert(array[65] == 43);
    assert(array[64] == 42);
}
------

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list