summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/modConstZeroRhs.js
blob: 75ef884100bd2aff935f69896150b3691cb8f058 (plain)
1
2
3
4
5
6
7
8
function f() {
    var x = 5;
    var y = 0;
    return x % y;
}
assertEq(f(), NaN);