summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263355-42.js
blob: b874006a4b456b969f40fc3a255d2d0f0c4ebf76 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| error: ReferenceError

function f() {
  switch (2) {
    case 1:
      x = 1;
    case (x, 2):
      let x;
  }
}
f();