summary refs log tree commit diff stats
path: root/tests/misc/t16244.nim
blob: 5e81287369e80157e4b9ce984d48126a6416efbf (plain) (blame)
1
2
3
4
5
6
7
8
9
discard """
  errormsg: "type mismatch: got <int, float64>"
  line: 9
"""

proc g(): auto = 1
proc h(): auto = 1.0

var a = g() + h()