40 lines
521 B
Text
40 lines
521 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 : Symbol(fn, Decl(forBreakStatements.ts, 33, 7))
|
|
|
|
break EIGHT;
|
|
}
|
|
|