blob: 270a6ff51b39aa653dd2682cac161d42a86a7127 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(a, v) {
a[0] = v + 2000000000;
}
noInline(foo);
for (var i = 0; i < 100000; ++i) {
var a = new Int32Array(1);
foo(a, 2000000000);
if (a[0] != -294967296)
throw "Error: bad value: " + a[0];
}