summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/ion-asmjs-ctor.js
blob: 0cc0bcb821a8c71e73d65c6d34e9d787dfc3dae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
evaluate(`
  var f = (function module() {
    "use asm";
    function f(i) {
        i=i|0;
        if (!i)
            return;
    }
    return f;
  })();
  evaluate(\`new f({}, {});\`);
`);