summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1296249.js
blob: b9994fd4290e09145d099892554bd799e81cb359 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| slow
if (!('oomTest' in this))
    quit();

function f(x) {
    new Int32Array(x);
}

f(0);
oomTest(() => f(2147483647));