blob: 0741e3e89df0c7699c1c3b1421e7ad59575185af [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(function() {
var o = {a:1};
var p = {a:2, l:13};
var result = 0;
for (var i = 0; i < 1000000; ++i) {
result ^= o.a;
var tmp = o;
o = p;
p = tmp;
}
if (result != 0)
throw "Error: bad result: " + result;
})();