summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1132290.js
blob: 0799d150b7bb741dbb167651a63f70a42a3729ce (plain)
1
2
3
4
5
6
7
8
9
10

f = function() {
    v = new Uint8Array()
        function f(x) {
            return x + v[0] | 0
        }
    return f
}()
assertEq(f(0), 0)
assertEq(f(1), 0)