9 lines
116 B
Nim
Executable file
9 lines
116 B
Nim
Executable file
# Test in out checking for parameters
|
|
|
|
proc abc(x: out int) =
|
|
x = 0
|
|
|
|
proc b() =
|
|
abc(3) #ERROR
|
|
|
|
b()
|