summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1296249.js
blob: 7c8b7c5df4e7dba273cafe104cf10f0b55c260f7 (plain)
1
2
3
4
5
6
7
// |jit-test| slow; skip-if: !('oomTest' in this)
function f(x) {
    new Int32Array(x);
}

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