Don't relax function calls
This commit is contained in:
@ -1 +1,2 @@
|
||||
8
|
||||
9
|
||||
|
1
tests/expectations/pointer_in_expression.txt
Normal file
1
tests/expectations/pointer_in_expression.txt
Normal file
@ -0,0 +1 @@
|
||||
5
|
5
tests/expectations/print_in_loop.txt
Normal file
5
tests/expectations/print_in_loop.txt
Normal file
@ -0,0 +1,5 @@
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
@ -5,5 +5,7 @@ begin
|
||||
writei(5);
|
||||
writei(5);
|
||||
writei(5)
|
||||
end
|
||||
end;
|
||||
if 1 < 2 then writei(9);
|
||||
if 1 > 2 then writei(10)
|
||||
end.
|
||||
|
6
tests/pointer_in_expression.eln
Normal file
6
tests/pointer_in_expression.eln
Normal file
@ -0,0 +1,6 @@
|
||||
var a: Int, b: ^Int;
|
||||
begin
|
||||
a := 5;
|
||||
b := @a;
|
||||
writei(b^)
|
||||
end.
|
10
tests/print_in_loop.eln
Normal file
10
tests/print_in_loop.eln
Normal file
@ -0,0 +1,10 @@
|
||||
var i: Int;
|
||||
begin
|
||||
i := 1;
|
||||
|
||||
while i <= 6 do
|
||||
begin
|
||||
writei(i);
|
||||
i := i + 1
|
||||
end;
|
||||
end.
|
Reference in New Issue
Block a user