11 lines
318 B
Text
11 lines
318 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget5.ts (1 errors) ====
|
||
|
target:
|
||
|
while (true) {
|
||
|
function f() {
|
||
|
while (true) {
|
||
|
break target;
|
||
|
~~~~~~~~~~~~~
|
||
|
!!! Jump target cannot cross function boundary.
|
||
|
}
|
||
|
}
|
||
|
}
|