mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
23 lines
271 B
C
23 lines
271 B
C
extern void exit (int);
|
|
extern void abort ();
|
|
|
|
void test(unsigned int a, unsigned int b)
|
|
{
|
|
if (a < 5)
|
|
abort();
|
|
if (b < 5)
|
|
abort();
|
|
if (a + b != 0U)
|
|
abort();
|
|
}
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
unsigned int x = 0x8000;
|
|
test(x, x);
|
|
exit (0);
|
|
}
|
|
|
|
|
|
|