tests themselves contain the expected result
This commit is contained in:
parent
cbee9c4e1a
commit
2cdfe35e73
144 changed files with 957 additions and 200 deletions
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
file: "tnestprc.nim"
|
||||
output: "10"
|
||||
"""
|
||||
# Test nested procs without closures
|
||||
|
||||
proc Add3(x: int): int =
|
||||
|
|
@ -8,3 +12,5 @@ proc Add3(x: int): int =
|
|||
|
||||
echo Add3(7) #OUT 10
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue