-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.mltn
92 lines (73 loc) · 868 Bytes
/
test.mltn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
var x_1;
x_1 = 14;
var y$2;
y$2 = x_1 + 4 * 6+3; //41
{
var number;
number = 6;
{
var number2;
number2 = 7;
number = 2 + number2; //9
}
y$2 = y$2 + number; //50
}
var _z;
_z = y$2 - 10; //40
// very useful comment
var v;
v = 15;
while (1) {
v = v - 1;
if (v-10) {
continue;
}
break;
}
var w;
w = 25;
while (w) {
w = w - 7;
var i;
i = 2;
while (1) {
w = w + 1;
i = i - 1;
if (i) {
continue;
}
break;
}
}
dummy(5);
// var test; test = 7;
// exit(test);
leave(6, 14);
//ex();
//var retTest;
//retTest = num();
//exit(retTest);
/*
if (v) {
exit(v);
} else if (v-10) {
exit(_z / 4 * (2 + 4)); //60
} else {
exit(4);
}
*/
/* bigger comment
multiple lines are supported!
*/
func 1 num() {
return 22;
}
func 0 ex() {
exit(69);
}
func 0 leave(code, offset) {
exit(code + offset);
}
func 0 dummy(param1) {
return;
}