summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1698126.js
blob: d0576c248726aebfa70589f50429776fcc9bbdfd (plain)
1
2
3
4
5
6
7
8
9
10
11
function bar() { return arguments[0]; }

function foo() {
    var arr = new Float32Array(10);
    return bar(arr[0]);
}

with ({}) {}
for (var i = 0; i < 100; i++) {
    assertEq(foo(), 0);
}