Retro68/gcc/libgomp/testsuite/libgomp.c/pr35625.c

19 lines
310 B
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
/* 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;
}