summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/modConstInt.js
blob: cdb0711da3c8f6ea84a35af84624417e30216861 (plain)
1
2
3
4
5
6
7
8
function f() {
    var i = 1000;
    var rest = i % 3;
    var div = (i - rest) / 3;
    assertEq(div, 333);
}
f();