mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
19 lines
194 B
C
19 lines
194 B
C
extern void abort (void);
|
|
extern void exit (int);
|
|
|
|
int
|
|
foo (int x)
|
|
{
|
|
if (x == -2 || -x - 100 >= 0)
|
|
abort ();
|
|
return 0;
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
foo (-3);
|
|
foo (-99);
|
|
exit (0);
|
|
}
|