summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1138740.js
blob: 195717c976f18f88a598f5e151a26b440121f4f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

with({}){}
x = new Int8Array(1)
function f(y) {
    x[0] = y
}
f()
f(3)
f(7)
x.buffer;
f(0);
assertEq(x[0], 0);