summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug1219954.js
blob: 041c6fe35acebcbecc530fb60cc25991fee491f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| slow
"use strict";

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

let g = (function() {
    "use asm";
    function f() {}
    return f;
})();

oomTest(() => "" + g);