summary refs log tree commit diff stats
path: root/tests/accept/compile
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-03-09 19:37:26 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-03-09 19:37:26 +0100
commitfe4cc78294fc3eed5335690e155a78dc119e39a8 (patch)
tree8e4a92889d39db17ec4d3eef2f899fe85bb663f8 /tests/accept/compile
parent684bb09773da6876980242850cdacb0aefee7bcc (diff)
downloadNim-fe4cc78294fc3eed5335690e155a78dc119e39a8.tar.gz
bugfix:hexadecimal ranges 0x00..0x01
Diffstat (limited to 'tests/accept/compile')
-rwxr-xr-xtests/accept/compile/thexrange.nim8
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
+