TypeScript/tests/baselines/reference/reachabilityChecks2.js
2015-09-15 10:36:55 -07:00

22 lines
281 B
TypeScript

//// [reachabilityChecks2.ts]
while (true) { }
const enum E { X }
module A4 {
while (true);
module A {
const enum E { X }
}
}
//// [reachabilityChecks2.js]
while (true) { }
var A4;
(function (A4) {
while (true)
;
})(A4 || (A4 = {}));