summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1054753.js
blob: a05f2be5024b7dede24221a9ffa8c597c0fd4f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| error: TypeError
g = (function() {
    var Int32ArrayView = new Int32Array();
    function f() {
        Int32ArrayView[Symbol() >> 2]
    }
    return f;
})();
try {
    g();
} catch (e) {}
g();