diff --git a/test/fixtures/transformation/es6-block-scoping/exec-switch-break/exec.js b/test/fixtures/transformation/es6-block-scoping/exec-switch-break/exec.js new file mode 100644 index 0000000000..46d0adff12 --- /dev/null +++ b/test/fixtures/transformation/es6-block-scoping/exec-switch-break/exec.js @@ -0,0 +1,11 @@ +if (true) { + const x = 1; + switch (x) { + case 1: { + function y() { + assert(x, 1); + } + break; + } + } +}