summary refs log tree commit diff stats
path: root/tests/sets/t13764.nim
blob: 1634f113d9b4ad3b7470d992ce110d0af0c917ff (plain) (blame)
1
2
3
4
5
6
discard """
errormsg: "conversion from int literal(1000000) to range 0..255(int) is invalid"
line: 6
"""

let a = {1_000_000} # Compiles