/*
 * Copyright (c) 2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import d from 'assert';
let e = 1;
type e = number;
let f = 0;
a: for (var g = 0; g < 10; g++) {
    if (g > 5) {
        for (let k in [1, 2, 3]) {
            d(g === 6);
            d(k === "0");
            break a;
        }
    }
    d(g <= 5);
    if (g < 5)
        continue a;
}
d(g === 6);
let h = 2;
b: {
    let j = 1;
    if (h > 1)
        break b;
    h++;
}
d(h === 2);
let i = true;
c: do {
    e++;
    i = !i;
    continue c;
} while (e < 10);
d(e === 10);
d(i === false);
