summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263355-36.js
blob: b6d07c3ce909e8e8be02dc76563ff2c8e2c060ee (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: ReferenceError

(function f() {
    let x = (new function() {
        x(() => {
            f.ArrayType(1, 2);
        }, "first argument of ctypes.cast must be a CData");
    })
})();