diff options
author | Bung <crc32@qq.com> | 2023-04-21 18:05:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 18:05:50 +0800 |
commit | d76458a6cd126a338f7499b1012559883ae7fe5d (patch) | |
tree | 9fd3c553905d2f21db70ee5674db7372f01f6e76 /tests | |
parent | 418e54452b28d2854fb1106be06e231dac842cf1 (diff) | |
download | Nim-d76458a6cd126a338f7499b1012559883ae7fe5d.tar.gz |
add test for #13764 (#21699)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sets/t13764.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sets/t13764.nim b/tests/sets/t13764.nim new file mode 100644 index 000000000..1634f113d --- /dev/null +++ b/tests/sets/t13764.nim @@ -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 |