921e5a0eb4
From-SVN: r14840
28 lines
204 B
C
28 lines
204 B
C
#include <limits.h>
|
|
|
|
int n = 0;
|
|
|
|
g (i)
|
|
{
|
|
n++;
|
|
}
|
|
|
|
f (m)
|
|
{
|
|
int i;
|
|
i = m;
|
|
do
|
|
{
|
|
g (i * INT_MAX / 2);
|
|
}
|
|
while (--i > 0);
|
|
}
|
|
|
|
main ()
|
|
{
|
|
f (4);
|
|
if (n != 4)
|
|
abort ();
|
|
exit (0);
|
|
}
|