summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug678239-2.js
blob: 2b16a7cc9dce0411b9ed3cc6f6f198b69ac6e708 (plain)
1
2
3
4
5
6
7
function f(x, y, z) {
    if (1)
        x = z;
    return x + y;
}

assertEq(f(0, 2, {}), "[object Object]2")