blob: 1c58c37e1db2dd560f1bd504355ccf51aae61077 [file] [log] [blame]
var array = new Int8Array(new ArrayBuffer(100));
function foo(i) {
return array[i];
}
for (var i = 0; i < 100000; ++i) {
if (foo(i % 100) != 0)
throw "Error";
}