Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
9
tests/tinout.nim
Executable file
9
tests/tinout.nim
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
# Test in out checking for parameters
|
||||
|
||||
proc abc(x: out int) =
|
||||
x = 0
|
||||
|
||||
proc b() =
|
||||
abc(3) #ERROR
|
||||
|
||||
b()
|
||||
Loading…
Add table
Add a link
Reference in a new issue