1 ! REQUIRES: openmp_runtime
3 ! RUN: %python %S/../test_errors.py %s %flang %openmp_flags -fopenmp-version=50
9 !$omp parallel num_threads(4)
23 !$omp parallel private(xyz)
24 !$omp taskgroup allocate(xyz)
27 !$omp taskgroup allocate(omp_large_cap_mem_space: abc)
29 print *, "almighty sun"
36 !ERROR: PRIVATE clause is not allowed on the TASKGROUP directive
37 !$omp taskgroup private(abc)
42 !$omp taskgroup task_reduction(+ : reduction_var)
44 !$omp taskgroup task_reduction(.or. : reduction_var) task_reduction(.and. : reduction_var)
45 print *, "almighty sun"