blob: e3c8049d5e56431b0f0b4b3f2c77a61f6f6448cd [file] [log] [blame]
description(
"Tests that storing a value that is outside of the int32 range into a Uint32Array results in correct wrap-around."
);
function foo(a) {
a[0] = 0x8005465c;
}
var array = new Uint32Array(1);
for (var i = 0; i < 200; ++i) {
foo(array);
shouldBe("array[0]", "0x8005465c");
}