summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/ion/bug1105187-sink.js
blob: 835f91848cee010023a2adbd057d6e2f3ff68198 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| --ion-gvn=off; error:ReferenceError

(function(x) {
    x = +x
    switch (y) {
        case -1:
            x = 0
    }
})()