From fe4cc78294fc3eed5335690e155a78dc119e39a8 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf <andreas@andreas-desktop> Date: Tue, 9 Mar 2010 19:37:26 +0100 Subject: bugfix:hexadecimal ranges 0x00..0x01 --- tests/accept/compile/thexrange.nim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tests/accept/compile/thexrange.nim (limited to 'tests/accept/compile') 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 + -- cgit 1.4.1-2-gfad0