2 /* { dg-set-target-env-var OMP_CANCELLATION "true" } */
10 asm volatile ("" : : : "memory");
17 omp_set_schedule (omp_sched_static
, 1);
18 #pragma omp parallel num_threads (16)
23 if (omp_get_thread_num () == 1)
26 #pragma omp cancellation point parallel
28 for (j
= 3; j
<= 16; j
++)
29 #pragma omp for schedule (runtime) nowait
30 for (i
= 0; i
< j
; i
++)
32 if (omp_get_thread_num () == 0)
35 #pragma omp cancel parallel