1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
7 !$omp parallel num_threads(4)
21 !$omp parallel private(xyz)
22 !$omp taskgroup allocate(xyz)
25 !$omp taskgroup allocate(omp_large_cap_mem_space: abc)
27 print *, "almighty sun"
34 !ERROR: PRIVATE clause is not allowed on the TASKGROUP directive
35 !$omp taskgroup private(abc)
40 !$omp taskgroup task_reduction(+ : reduction_var)
42 !$omp taskgroup task_reduction(.or. : reduction_var) task_reduction(.and. : reduction_var)
43 print *, "almighty sun"