aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/20000731-2.c
blob: 112aa1c3a6198d2d268d182013a4a90e1eb14aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int
main()
{
    int i = 1;
    int j = 0;

    while (i != 1024 || j <= 0) {
        i *= 2;
        ++ j;
    }

    if (j != 10)
      abort ();

    exit (0);
}