blob: 4e590842858c8aff0f3cb2b1cc5fb9ccbe670982 (
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()
|