summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug855526.js
blob: fd75b137d44f5712014fb473c4d7e790480f366d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Don't assert.
try {
    eval('\
    function asmModule(g, foreign, heap) {\
        "use asm";\
        let HEAP8 = new g.Int8Array(heap);\
        function f() { return 17; } \
        return {f: f};\
    }\
    let m = asmModule("", "", 1, "");\
    ');
} catch (ex) {
}