summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/warning-oom.js
blob: baf91cb9c9d80a381cf40c7216219022771b9568 (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this)

// OOM during reporting warning should be handled.

oomTest(function(){
  new Function("return; 0;");
});