mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-28 10:13:56 +00:00
bugfix:hexadecimal ranges 0x00..0x01
This commit is contained in:
8
tests/accept/compile/thexrange.nim
Executable file
8
tests/accept/compile/thexrange.nim
Executable file
@@ -0,0 +1,8 @@
|
||||
|
||||
type
|
||||
TArray = array[0x0012..0x0013, int]
|
||||
|
||||
var a: TArray
|
||||
|
||||
echo a[0] #OUT 0
|
||||
|
||||
Reference in New Issue
Block a user