-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-semantic-error.src
88 lines (75 loc) · 1.23 KB
/
test-semantic-error.src
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
mainprog myProgram;
int[100] xxxxx, e1;
int[0] e2;
float hi, hi2, pi;
int x, e1;
function dfs(si: int; sj: int; hihihihihi: float; sj: float): float;
int[100] xxxxx, e1;
int si, hihihihihi;
float HelloWorld;
int[100] HelloWorld;
begin
x=.12;
MyVariable=cdb(1,2);
for 12345 in hi2:
begin
hi = -x * e1[40] / -xxxxx[1];
if hi <= 1:
begin
nop; nop; nop
end
elif 2 == hi:
begin
print(dfs);
nop; nop; nop
end
elif 1 > 2:
print(hi[1])
else:
begin
while 1!=2:
begin
e1[90]=e1[90-1]+1;
e1[90-1]=e1[90]-1
end
else:
e1[90]=e1[90-1]+1;
print(dfs(1,2))
end
end;
print(0)
end
procedure cdb(pa1: int);
begin
return 12*1-9/222+9
end
procedure dfs;
begin
nop
end
function hi: int;
begin
print(1+11+111);
return 12*1-9/222+9
end
begin
print(1 in e1);
for xxxxx[5] in e1:
begin
print(e1[e1[e1[e1[e1[e1[e1[50]]]]]]]);
hi = 3. + 123 - .3 * 3.112 / 94.24230923540909
end
else:
begin
print(hi+xxxxx[1]/hi2)
end;
begin
nop
end;
hi = cdb(100);
e1 = hi;
for hi in e1[0]+93939+14+e1[0]-1349*14:
pi = 3.14159265358979323;
pi = pi * e1 + xxxxx[0];
xxxxx[0] = xxxxx[0] + 1
end