TypeScript/tests/cases/compiler/doubleUnderscoreLabels.ts

13 lines
277 B
TypeScript
Raw Normal View History

function doThing() {
__call: while (true) {
aLabel: for (let i = 0; i < 10; i++) {
if (i === 3) {
break __call;
}
if (i === 5) {
break aLabel;
}
}
}
}
doThing();