blob: ea8ce938a2020e839b4bb5c6ada6477a1a7e3ab1 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo() {
var result = 0;
for (var i = 0; i < 1; ++i)
result++;
return result;
}
var result = 0;
for (var i = 0; i < 200000; ++i)
result += foo();
if (result != 200000)
throw "Bad result: " + result;