TypeScript/tests/cases/compiler/reachabilityChecks3.ts
2015-10-03 00:20:15 -07:00

16 lines
188 B
TypeScript

// @allowUnusedLabels: false
let x = 1;
loop: while (true) {
if (x == 100) {
break;
}
else {
x++;
}
}
{
x: 100
}
var y = () => { f: 1 }