mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-23 04:50:45 +00:00
6
tests/sets/t13764.nim
Normal file
6
tests/sets/t13764.nim
Normal file
@@ -0,0 +1,6 @@
|
||||
discard """
|
||||
errormsg: "conversion from int literal(1000000) to range 0..255(int) is invalid"
|
||||
line: 6
|
||||
"""
|
||||
|
||||
let a = {1_000_000} # Compiles
|
||||
Reference in New Issue
Block a user