mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
18 lines
184 B
C
18 lines
184 B
C
int
|
|
blah (int zzz)
|
|
{
|
|
int foo;
|
|
if (zzz >= 0)
|
|
return 1;
|
|
foo = (zzz >= 0 ? (zzz) : -(zzz));
|
|
return foo;
|
|
}
|
|
|
|
main()
|
|
{
|
|
if (blah (-1) != 1)
|
|
abort ();
|
|
else
|
|
exit (0);
|
|
}
|