summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1466626-4.js
blob: 8efc52727cd25e32030ba92dd752c4f7ce69297d (plain)
1
2
3
4
5
6
7
8
var source = "{";
for (var i = 0; i < 120; ++i)
    source += `function f${i}(){}`
source += "}";

oomTest(function() {
    Function(source);
});