summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug692274-3.js
blob: a8c0afe65f0339eb908367ee0cc22716d3d747d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var x = -false;
switch(x) {
    case 11: 
    let y = 42;
}
switch(x) {
    case 11: 
    let y = 42;
    let z = 'ponies';
}
switch(x) {
    case 11: 
    let y = 42;
    let z = 'ponies';
    let a = false;
}