summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug-1198090.js
blob: 143de6c70a8b555c3e19e19a1c1fdceb796b1fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| allow-oom

if (!('oomAtAllocation' in this))
    quit();

for (let a of [
        null, function() {}, function() {}, null, function() {}, function() {},
        function() {}, null, null, null, null, null, null, null, null,
        function() {}, null, null, null, function() {}
    ]) {
    oomAtAllocation(5);
}