* tests\bug-221100.c, tests\shifts.c, tests\absolute.c:
[fw/sdcc] / support / regression / tests / shifts.c
index 200caffba63141e040a32c2b86209e2e70abe1d0..a975cdff060979b7d93aa57a4c7cc3ce872379aa 100644 (file)
@@ -2,7 +2,7 @@
 
     sign: signed, unsigned
     type: char, int, long
-    storage: static, 
+    storage: static,
     attr: volatile
 
     vals: 3
 #include <testfwk.h>
 
 void
-testShiftClasses(void)
+test1ShiftClasses(void)
 {
     {attr} {storage} {sign} {type} i, result;
 
     i = 30;
     ASSERT(i>>3 == 3);
     ASSERT(i<<2 == 120);
-    
+
     result = i;
     result >>= 2;
     ASSERT(result == 7);
@@ -30,7 +30,7 @@ testShiftClasses(void)
 }
 
 void
-testShiftRight(void)
+test2ShiftRight(void)
 {
     {attr} {storage} {type} i, result;
 
@@ -45,11 +45,11 @@ testShiftRight(void)
     ASSERT(i>>8 == -1);
     result = i;
     result >>= 3;
-    ASSERT(result == -15); 
+    ASSERT(result == -15);
 }
 
-static void
-testShiftByteMultiples(void)
+void
+test3ShiftByteMultiples(void)
 {
     {attr} {storage} {type} i;
 
@@ -64,8 +64,8 @@ testShiftByteMultiples(void)
     ASSERT((({type}) i<<24) == (({type}) {vals} << 24));
 }
 
-static void
-testShiftOne(void)
+void
+test4ShiftOne(void)
 {
     {attr} {storage} {sign} {type} i;
     {sign} {type} result;