Files
Nim/tests/misc/tinout.nim
2018-12-11 21:23:21 +01:00

15 lines
205 B
Nim

discard """
errormsg: "type mismatch: got <int literal(3)>"
file: "tinout.nim"
line: 12
"""
# Test in out checking for parameters
proc abc(x: var int) =
x = 0
proc b() =
abc(3) #ERROR
b()