mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
20 lines
237 B
R
20 lines
237 B
R
|
#include "test-harness.h"
|
||
|
|
||
|
int count_down ()
|
||
|
{
|
||
|
static int count = 2;
|
||
|
count--;
|
||
|
return count > 0;
|
||
|
}
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
int ret = 0;
|
||
|
count_down ();
|
||
|
if (count_down ()) {
|
||
|
printf ("did not reach 0\n");
|
||
|
ret |= 1;
|
||
|
}
|
||
|
return ret;
|
||
|
}
|