summary refs log tree commit diff stats
path: root/compiler/c2nim/tests/systest.c
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-12-30 13:55:08 +0100
committerAraq <rumpf_a@web.de>2011-12-30 13:55:08 +0100
commit52e8b597e4a2d0426201c66ceadcf94cc8814c1b (patch)
tree9ce043558d5356a81450ed99b1f78af3dc84ed7f /compiler/c2nim/tests/systest.c
parent6a97bed6a7c7243928ab2080ab8e2e03231a9359 (diff)
downloadNim-52e8b597e4a2d0426201c66ceadcf94cc8814c1b.tar.gz
c2nim: bugfix: 'type x[10];' was not parsed properly
Diffstat (limited to 'compiler/c2nim/tests/systest.c')
-rwxr-xr-xcompiler/c2nim/tests/systest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/c2nim/tests/systest.c b/compiler/c2nim/tests/systest.c
index d1fbb6784..389fdfdc2 100755
--- a/compiler/c2nim/tests/systest.c
+++ b/compiler/c2nim/tests/systest.c
@@ -351,7 +351,7 @@ HWBType;
 static HWBType *
 RGB_to_HWB (RGBType RGB, HWBType * HWB)
 {
-
+  HWBType* myArray[20];
   /*
    * RGB are each on [0, 1]. W and B are returned on [0, 1] and H is  
    * returned on [0, 6]. Exception: H is returned UNDEFINED if W == 1 - B.