1 // RUN: %libomp-compile && env OMP_MAX_TASK_PRIORITY=42 %libomp-run
11 int max_task_priority
= omp_get_max_task_priority();
12 if (max_task_priority
!= 42) {
14 "error: omp_get_max_task_priority() returned %d instead of 42\n",
19 for (i
= 0; i
< 250; ++i
) {
22 #pragma omp task priority(42)
30 printf("a = %d\n", a
);