summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1296249.js
blob: c5fb49bdbe8c48cd7608f5aeaf5494defa372490 (plain)
1
2
3
4
5
6
7
// |jit-test| slow
function f(x) {
    new Int32Array(x);
}

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