mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Second test batch and associated fixes
This commit is contained in:
parent
7abb116876
commit
9b7d1e436e
56 changed files with 760 additions and 27 deletions
29
test/tests/function scoped.ans
Normal file
29
test/tests/function scoped.ans
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
:$ f()
|
||||
:a = 1
|
||||
|
||||
|{a}
|
||||
|
||||
a = a + 1
|
||||
|
||||
:$ g
|
||||
:a = 1
|
||||
|
||||
|{a}
|
||||
|
||||
a = a + 1
|
||||
|
||||
|paren:
|
||||
|
||||
f!
|
||||
|
||||
f!
|
||||
|
||||
f!
|
||||
|
||||
|no paren:
|
||||
|
||||
g!
|
||||
|
||||
g!
|
||||
|
||||
g!
|
||||
Loading…
Add table
Add a link
Reference in a new issue