summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1471361.js
blob: d50acdf55879219fb91f5e4559c999ce9b31b3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This is a fuzzer-found crash inducing test.
// Pass is simply not crashing.
(function () {
    f = function(y) {
        ~+y;
    }
    x = [new Number];
    for (var j = 0; j < 3; ++j) {
        for (var k = 0; k < 3; ++k) {
            f(x[k]);
        }
    }
})();