blob: 0b2a54d9f5f91a379cdf42456da36e66846c04a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
discard """
file: "tinout.nim"
line: 12
errormsg: "type mismatch: got (int literal(3))"
"""
# Test in out checking for parameters
proc abc(x: var int) =
x = 0
proc b() =
abc(3) #ERROR
b()
|