1/*
2 * Copyright (c) 2023-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 getI(i : int): int {
17    return i;
18}
19
20function getD(d : double): double {
21    return d;
22}
23
24function apple(): Byte {
25    return getI(0) as byte;
26}
27
28function banana(): Short {
29    return getI(1) as short;
30}
31
32function cherry(): Int {
33    return getI(2) as int;
34}
35
36function date(): Long {
37    return getI(3) as long;
38}
39
40function elderberry(): Float {
41    return getI(4) as float;
42}
43
44function fig(): Float {
45    return getD(4.0) as float;
46}
47
48function grape(): Double {
49    return getI(5) as double;
50}
51
52function honeydewmelon(): Double {
53    return getD(5.0) as double;
54}
55
56function indian_fig(): Char {
57    return getI(65) as char;
58}
59
60function raspberry(): Short {
61    return getD(1.0) as short;
62}
63
64function strawberry(): Int {
65    return getD(2.0) as int;
66}
67
68function tomato(): Long {
69    return getD(3.0) as long;
70}
71
72function uglifruit(): Char {
73    return getD(65.0) as char;
74}
75
76function main(): void {}
77