diff options
Diffstat (limited to 'tests/run/tnestprc.nim')
-rwxr-xr-x | tests/run/tnestprc.nim | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/run/tnestprc.nim b/tests/run/tnestprc.nim deleted file mode 100755 index c10ad6abf..000000000 --- a/tests/run/tnestprc.nim +++ /dev/null @@ -1,16 +0,0 @@ -discard """ - file: "tnestprc.nim" - output: "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 - - - |