1 // RUN: %libomp-compile-and-run
4 #include "omp_testsuite.h"
5 #include "omp_my_sleep.h"
14 condition_false
= (count
== 1);
19 #pragma omp task if (condition_false) shared(count, result)
23 result
= (0 == count
);
24 } /* end of omp task */
28 } /*end of parallel */
37 for(i
= 0; i
< REPETITIONS
; i
++) {
38 if(!test_omp_task_if()) {