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

# please finally disallow Len(3)

echo len(3)