modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/20000224-1.c (about)

     1  int loop_1 = 100;
     2  int loop_2 = 7;
     3  int flag = 0;
     4  
     5  int test (void)
     6  {
     7      int i;
     8      int counter  = 0;
     9  
    10      while (loop_1 > counter) {
    11          if (flag & 1) {
    12              for (i = 0; i < loop_2; i++) {
    13                  counter++;
    14              }
    15          }
    16          flag++;
    17      }
    18      return 1;
    19  }
    20  
    21  int main()
    22  {
    23      if (test () != 1)
    24        abort ();
    25      
    26      exit (0);
    27  }
    28