mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Fix tests...
This commit is contained in:
parent
7d7cf2d1e0
commit
ce606bb19e
@ -26,7 +26,7 @@ int main (void)
|
||||
printf("wrong result on int %d << 7: %04X, expected %04X\n", ai, ti, refi);
|
||||
return 1;
|
||||
}
|
||||
} while (ai != -32768);
|
||||
} while (++ai != -32768);
|
||||
|
||||
do {
|
||||
refc = ac << 4;
|
||||
@ -38,7 +38,7 @@ int main (void)
|
||||
printf("wrong result on char %d << 7: %04X, expected %04X\n", ac, tc, refc);
|
||||
return 1;
|
||||
}
|
||||
} while (ac != -128);
|
||||
} while (++ac != -128);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ int main (void)
|
||||
printf("wrong result on int %d >> 7: %04X, expected %04X\n", ai, ti, refi);
|
||||
return 1;
|
||||
}
|
||||
} while (ai != -32768);
|
||||
} while (++ai != -32768);
|
||||
|
||||
do {
|
||||
refc = ac >> 4;
|
||||
@ -38,7 +38,7 @@ int main (void)
|
||||
printf("wrong result on char %d >> 7: %04X, expected %04X\n", ac, tc, refc);
|
||||
return 1;
|
||||
}
|
||||
} while (ac != -128);
|
||||
} while (++ac != -128);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ int main (void)
|
||||
printf("wrong result on int %u << 7: %04X, expected %04X\n", ai, ti, refi);
|
||||
return 1;
|
||||
}
|
||||
} while (ai != 0);
|
||||
} while (++ai != 0);
|
||||
|
||||
do {
|
||||
refc = ac << 4;
|
||||
@ -38,7 +38,7 @@ int main (void)
|
||||
printf("wrong result on char %u << 7: %04X, expected %04X\n", ac, tc, refc);
|
||||
return 1;
|
||||
}
|
||||
} while (ac != 0);
|
||||
} while (++ac != 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ int main (void)
|
||||
printf("wrong result on int %d >> 7: %04X, expected %04X\n", ai, ti, refi);
|
||||
return 1;
|
||||
}
|
||||
} while (ai != 0);
|
||||
} while (++ai != 0);
|
||||
|
||||
do {
|
||||
refc = ac >> 4;
|
||||
@ -38,7 +38,7 @@ int main (void)
|
||||
printf("wrong result on char %d >> 7: %04X, expected %04X\n", ac, tc, refc);
|
||||
return 1;
|
||||
}
|
||||
} while (ac != 0);
|
||||
} while (++ac != 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user