summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug1219954.js
blob: 305369a9369d02f0424bb4bddfacf2780737ae47 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| slow; skip-if: !('oomTest' in this)
"use strict";

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

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