Fix Ada runtime library breakage on Solaris
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 991216-4.c
blobfaba02e355897e683f1e2f7579815cbe6b0b90eb
1 /* Test against a problem with loop reversal. */
2 void abort (void);
3 void exit (int);
5 static void bug(int size, int tries)
7 int i;
8 int num = 0;
9 while (num < size)
11 for (i = 1; i < tries; i++) num++;
15 int main()
17 bug(5, 10);
18 exit (0);