summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug1007512.js
blob: 657fed6210f1693d80109dd414e45e72693569f2 (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: TypeError

new(function(stdlib, n, heap) {
    "use asm"
    var x = new stdlib.Uint32Array(heap)
    function f() {}
    return f
})