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

# please finally disallow Len(3)

echo len(3)