summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1871186.js
blob: 260356ab8b7a92219d4bc8887cab419508a6a1ac (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| --blinterp-eager

gc();
function f(x) {
  new Uint8Array(x);
}
f(0);
oomTest(function () {
  f(2048);
});