blob: 3417fc2b112f98b31d23fc7b46ea4c517f03ce0b [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function bar(a, b) {
return ((_a, _b) => _a + _b)(a, b);
}
noInline(bar);
for (let i = 0; i < 1000000; ++i) {
let result = bar(1, 2);
if (result != 3)
throw "Error: bad result: " + result;
}