blob: 84b0018ba6acc5b192a6708b4917a7d039e25aa5 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
class A {
get f() {
return this._f;
}
}
class B extends A {
get f() {
return super.f;
}
}
(function() {
var o = new B();
o._f = 42;
var result = 0;
var n = 2000000;
for (var i = 0; i < n; ++i)
result += o.f;
if (result != n * 42)
throw "Error: bad result: " + result;
})();