1 // RUN: %libomp-compile-and-run
6 #include "omp_my_sleep.h"
19 int main(int argc
, char** argv
)
21 #pragma omp parallel shared(argc) num_threads(2)
25 #pragma omp task depend(out: a)
28 #pragma omp task if(0) depend(inout: a)
33 fprintf(stderr
, "fail: expected 11, but a is %d\n", a
);