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