summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1884746.js
blob: 5dab465dace752e6e32970ec9fad4d6fbe506800 (plain)
1
2
3
4
5
6
7
var x = newGlobal().Int8Array;
for (let i = 0; i < 2; i++) {
  function f() {}
  oomTest(function() {
    new x().__proto__ = f;
  });
}