1/*
2 * Copyright (c) 2021-2024 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
16function main() : void {
17    let a: boolean = true;
18    let b: byte = 1;
19    let c: short = 2;
20    let d: char = c'3';
21    let e: int = 4;
22    let f: long = 5;
23    let g: float = 6.0;
24    let h: double = 7.0;
25    let i: Object = a;
26    let j: Object = b;
27    let k: Object = c;
28    let l: Object = d;
29    let m: Object = e;
30    let n: Object = f;
31    let o: Object = g;
32    let p: Object = h;
33    let q: Object = 8;
34    let r: Object = 9.0;
35    let s: Float = 1.0;
36    let t: Int = 1.0;
37}
38