diff options
Diffstat (limited to 'js/src/tests/non262/regress/regress-1476383-calloc-exc.js')
-rw-r--r-- | js/src/tests/non262/regress/regress-1476383-calloc-exc.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/tests/non262/regress/regress-1476383-calloc-exc.js b/js/src/tests/non262/regress/regress-1476383-calloc-exc.js new file mode 100644 index 0000000000..3a6a0eb663 --- /dev/null +++ b/js/src/tests/non262/regress/regress-1476383-calloc-exc.js @@ -0,0 +1,12 @@ +// |reftest| skip-if(!this.hasOwnProperty("oomTest")) + +let lfPreamble = ` +`; +oomTest(new Function(`var TOTAL_MEMORY = 50 * 1024 * 1024; +HEAP = IHEAP = new Int32Array(TOTAL_MEMORY); +function __Z9makeFastaI10RandomizedEvPKcS2_jRT_(\$id, \$desc, \$N, \$output) +{ +} +`)); + +this.reportCompare && reportCompare(true, true); |