summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20000225-1.c
blob: 6c409bcf776ade0a4c4374e94b17028e82ea4ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int main ()
{
    int nResult;
    int b=0;
    int i = -1;

    do
    {
     if (b!=0) {
       abort ();
       nResult=1;
     } else {
      nResult=0;
     }
     i++;
     b=(i+2)*4;
    } while (i < 0);
    exit (0);
}