mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
325 B
TypeScript
22 lines
325 B
TypeScript
//// [tests/cases/compiler/breakTarget5.ts] ////
|
|
|
|
//// [breakTarget5.ts]
|
|
target:
|
|
while (true) {
|
|
function f() {
|
|
while (true) {
|
|
break target;
|
|
}
|
|
}
|
|
}
|
|
|
|
//// [breakTarget5.js]
|
|
"use strict";
|
|
target: while (true) {
|
|
function f() {
|
|
while (true) {
|
|
break target;
|
|
}
|
|
}
|
|
}
|