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:
parent
81d6321cd7
commit
da4cc08b78
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user