v8/test/mjsunit/regress/regress-weakening-multiplication.js
2014-11-13 09:02:14 +00:00

13 lines
281 B
JavaScript

// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function f() {
for (var j = 1; j < 1; j *= -8) {
}
for (var i = 1; i < 1; j += 2) {
j * -1;
}
}
f();