Nim/tests/compile/thexrange.nim

8 lines
85 B
Nim
Executable file

type
TArray = array[0x0012..0x0013, int]
var a: TArray
echo a[0x0012] #OUT 0