start of tests refactoring; sqlite3 new wrapper fixes
This commit is contained in:
parent
6bc16904ed
commit
d913fdb280
173 changed files with 206 additions and 238 deletions
10
tests/accept/run/tnestprc.nim
Normal file
10
tests/accept/run/tnestprc.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Test nested procs without closures
|
||||
|
||||
proc Add3(x: int): int =
|
||||
proc add(x, y: int): int {.noconv.} =
|
||||
result = x + y
|
||||
|
||||
result = add(x, 3)
|
||||
|
||||
echo Add3(7) #OUT 10
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue