summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-1476383-calloc-exc.js
blob: 3a6a0eb6633291e684cc2e02caeab89b439abc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
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);