mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 01:34:02 +00:00
fixes #25074
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
(cherry picked from commit ace09b3cab)
This commit is contained in:
6
tests/lexer/t25074.nim
Normal file
6
tests/lexer/t25074.nim
Normal file
@@ -0,0 +1,6 @@
|
||||
discard """
|
||||
matrix: "--warningaserror:longliterals"
|
||||
errormsg: "number has 64 digits but type only supports 16 digits: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff' [LongLiterals]"
|
||||
"""
|
||||
|
||||
echo $sizeof 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
Reference in New Issue
Block a user