Dmitry Boulytchev 2020-11-24 23:11:17 +03:00
parent 8f01e5eb5b
commit 66dc5c3063
8 changed files with 54 additions and 15 deletions

View file

@ -0,0 +1,6 @@
> 0
0
10
0
10
100

1
regression/test110.input Normal file
View file

@ -0,0 +1 @@
0

16
regression/test110.lama Normal file
View file

@ -0,0 +1,16 @@
local x = [0], y = [0];
read ();
write (x[0]);
write (y[0]);
if 1 then x[0] else y[0] fi := 10;
write (x[0]);
write (y[0]);
if 0 then x[0] else y[0] fi := 100;
write (x[0]);
write (y[0])