summary refs log tree commit diff stats
path: root/tests/misc/tinc.nim
blob: b74f85591b5c1434ad72b222dba6103bf0923496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
discard """
  file: "tinc.nim"
  line: 8
  errormsg: "type mismatch: got (int)"
"""
var x = 0

inc(x+1)