00001 /* PR libgomp/35625 */ 00002 /* { dg-do run } */ 00003 /* { dg-options "-std=c99" } */ 00004 00005 int 00006 main (void) 00007 { 00008 #pragma omp parallel 00009 { 00010 #pragma omp for schedule (guided, 10) 00011 for (int i = 0; i < 1826; i += 10) 00012 ; 00013 #pragma omp for schedule (guided, 10) 00014 for (int i = 0; i > -1826; i -= 10) 00015 ; 00016 } 00017 return 0; 00018 }