Nim/tests/tinout.nim
2008-06-22 16:14:11 +02:00

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()