1 // RUN: %libomp-compile-and-run
5 #include "omp_testsuite.h"
7 /* Test that the chunk size is set to default (1) when
8 chunk size <= 0 is specified */
11 int test_set_schedule_0()
15 omp_set_schedule(omp_sched_dynamic
,0);
19 #pragma omp for schedule(runtime)
20 for(i
= 0; i
< 10; i
++) {
35 for(i
= 0; i
< REPETITIONS
; i
++) {
36 if(!test_set_schedule_0()) {