mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-02 12:08:20 +00:00
Included lama compilation in root's make regression target
This commit is contained in:
parent
52ef663986
commit
89536c67e0
3240 changed files with 14640 additions and 6 deletions
13
lama-compiler/regression/test019.lama
Normal file
13
lama-compiler/regression/test019.lama
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
var i = 0,
|
||||
s = 0;
|
||||
|
||||
for i := 0, i < 100, i := i+1
|
||||
do
|
||||
for var j; j := 0, j < 100, j := j+1
|
||||
do
|
||||
s := s + j
|
||||
od;
|
||||
s := s + i
|
||||
od;
|
||||
|
||||
write (s)
|
||||
Loading…
Add table
Add a link
Reference in a new issue