Nim/tests/reject/tinc.nim

12 lines
132 B
Nim
Executable file

discard """
file: "tinc.nim"
line: 8
errormsg: "for a \'var\' type a variable needs to be passed"
"""
var x = 0
inc(x+1)