summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c/pr35625.c
blob: f2978f91164caeaae638dabd15fc7a1259ab181b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR libgomp/35625 */
/* { dg-do run } */
/* { dg-options "-std=c99" } */

int
main (void)
{
#pragma omp parallel
  {
    #pragma omp for schedule (guided, 10)
      for (int i = 0; i < 1826; i += 10)
	;
    #pragma omp for schedule (guided, 10)
      for (int i = 0; i > -1826; i -= 10)
	;
  }
  return 0;
}