michael@0: function g() { michael@0: const e = 0; michael@0: return function () { michael@0: switch (7) { michael@0: case e: michael@0: } michael@0: }; michael@0: } michael@0: michael@0: for (var i = 0; i < 2; i++) { michael@0: let f = g; michael@0: f(); michael@0: } michael@0: michael@0: // Just test that we don't crash.