1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

Moved and improved test case for Issue #1310.

This commit is contained in:
acqn 2021-02-03 12:22:46 +08:00 committed by greg-king5
parent 81d6321cd7
commit da4cc08b78

View File

@ -68,6 +68,14 @@ int main (void)
failures++;
}
if (-32768U != 32768U) {
fprintf (stderr, "Expected -32768U == 32768U, got: %ld\n", (long)-32768U);
failures++;
}
if (~32767U != 32768U) {
fprintf (stderr, "Expected ~32767U == 32768U, got: %ld\n", (long)~32767U);
failures++;
}
printf ("failures: %u\n", failures);
return failures;
}