42 lines
516 B
Text
42 lines
516 B
Text
|
=== tests/cases/conformance/statements/breakStatements/forBreakStatements.ts ===
|
||
|
for (; ;) {
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
ONE:
|
||
|
for (; ;) {
|
||
|
break ONE;
|
||
|
}
|
||
|
|
||
|
TWO:
|
||
|
THREE:
|
||
|
for (; ;) {
|
||
|
break THREE;
|
||
|
}
|
||
|
|
||
|
FOUR:
|
||
|
for (; ;) {
|
||
|
FIVE:
|
||
|
for (; ;) {
|
||
|
break FOUR;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
for (; ;) {
|
||
|
SIX:
|
||
|
for (; ;) break SIX;
|
||
|
}
|
||
|
|
||
|
SEVEN:
|
||
|
for (; ;) for (; ;) for (; ;) break SEVEN;
|
||
|
|
||
|
EIGHT:
|
||
|
for (; ;) {
|
||
|
var fn = function () { }
|
||
|
>fn : () => void
|
||
|
>function () { } : () => void
|
||
|
|
||
|
break EIGHT;
|
||
|
}
|
||
|
|