summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug646968-5.js
blob: abc372a853fd022bb54b03644c592267aa6ee68d (plain)
1
2
3
4
5
6
7
8
9
var y = 7;

switch (function () { with ({}) return y; }()) {
case 7:
    let y;
    break;
default:
    throw 'FAIL';
}