fix big endian hosts
[fw/sdcc] / support / regression / tests / bug-227710.c
index 9b57e77ba4c0793753fbdfeed1bd985a4af4a619..bd16d6697d69a414fbc8352dd87039e47f63b400 100644 (file)
@@ -2,7 +2,7 @@
  */
 #include <testfwk.h>
 
-static unsigned char _data[] = {
+static unsigned char __data[] = {
     1, 2, 3, 4
 };
 
@@ -17,12 +17,12 @@ foo(void)
 { 
     // BUG, there will be a PRE-increment 
     return p[s.index++];
-} 
+}
 
 void
 testPostIncrement(void)
 {
-    p = _data;
+    p = __data;
     ASSERT(foo() == 1);
     ASSERT(foo() == 2);
     ASSERT(foo() == 3);