mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-11 22:29:28 +00:00
16 lines
157 B
C
16 lines
157 B
C
unsigned int foo(unsigned int x)
|
|
{
|
|
if (x < 5)
|
|
x = 4;
|
|
else
|
|
x = 8;
|
|
return x;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
if (foo (8) != 8)
|
|
abort ();
|
|
exit (0);
|
|
}
|