2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 991216-4.c
blob4cc4c8c13e331fa5506c53deaa2fe76f1f37f7f5
1 /* Test against a problem with loop reversal. */
2 static void bug(int size, int tries)
4 int i;
5 int num = 0;
6 while (num < size)
8 for (i = 1; i < tries; i++) num++;
12 int main()
14 bug(5, 10);
15 exit (0);