1/*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16
17namespace ns101 {
18    export namespace ns102{
19        export namespace ns103{
20            export enum AAA{
21                a="str"
22            }
23            export import eee=AAA;
24        }
25        export import ie5=ns103.AAA;
26    }
27    export import ie2=ns102.ns103;
28    export import ie3=ns101.ie2;
29    export import ie4=ns102.ns103.AAA;
30    
31}
32
33import ie1 = ns101.ns102;
34
35enum E {
36    a=ie1.ns103.AAA.a,
37    b=ns101.ie2.eee.a,
38    c=ns101.ie3.AAA.a,
39    d=ns101.ie4.a,
40    e=ie1.ns103.eee.a,
41    f=ie1.ie5.a,
42    g=ns101.ns102.ie5.a
43}
44
45print(E.a);
46print(E.f);
47print(E["str"]);