diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-09 19:37:26 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-09 19:37:26 +0100 |
commit | fe4cc78294fc3eed5335690e155a78dc119e39a8 (patch) | |
tree | 8e4a92889d39db17ec4d3eef2f899fe85bb663f8 /tests/accept/compile | |
parent | 684bb09773da6876980242850cdacb0aefee7bcc (diff) | |
download | Nim-fe4cc78294fc3eed5335690e155a78dc119e39a8.tar.gz |
bugfix:hexadecimal ranges 0x00..0x01
Diffstat (limited to 'tests/accept/compile')
-rwxr-xr-x | tests/accept/compile/thexrange.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/accept/compile/thexrange.nim b/tests/accept/compile/thexrange.nim new file mode 100755 index 000000000..875a5bab3 --- /dev/null +++ b/tests/accept/compile/thexrange.nim @@ -0,0 +1,8 @@ + +type + TArray = array[0x0012..0x0013, int] + +var a: TArray + +echo a[0] #OUT 0 + |