]> git.gag.com Git - fw/sdcc/blobdiff - support/regression/tests/storage.c
Updated most tests to also do longs
[fw/sdcc] / support / regression / tests / storage.c
index 9a8b70056d02a6ae01a3515da3b76b498f3d3f88..91142adfef72ac3c7262fa1cd443f0ce314e67f4 100644 (file)
@@ -2,7 +2,7 @@
 
     source_storage: static, register,
     dest_storage: static, register, 
-    type: char, int
+    type: char, int, long
  */
 #include <testfwk.h>
 
@@ -24,8 +24,8 @@ testStorageTypes(void)
     // Test compare against a const
     ASSERT(source == 17);
 
-    dest = spoilAssign(134);
-    ASSERT(dest == 134);
+    dest = spoilAssign(126);
+    ASSERT(dest == 126);
     ASSERT(dest != source);
 
     // Test assignment