1  /* { dg-do run } */
       2  
       3  int z = 5;
       4  int a[6] = { 0, 0, 0, 0, 0, 1 };
       5  int main()
       6  {
       7    for (int x = 5; x; x--)
       8      for (int y = z; y >= x; y--)
       9        a[y - x] += a[y];
      10    if (a[0] != 7)
      11      __builtin_abort ();
      12    return 0;
      13  }