mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
21 lines
204 B
C
21 lines
204 B
C
extern void exit (int);
|
|
extern void abort ();
|
|
|
|
void test(int x, int y)
|
|
{
|
|
int c;
|
|
|
|
if (x == 1) abort();
|
|
if (y == 1) abort();
|
|
|
|
c = x / y;
|
|
|
|
if (c != 1) abort();
|
|
}
|
|
|
|
int main()
|
|
{
|
|
test(2, 2);
|
|
exit (0);
|
|
}
|