2 /* { dg-set-target-env-var OMP_CANCELLATION "true" } */
11 #pragma omp parallel firstprivate(x) num_threads (32)
13 int thr
= omp_get_thread_num ();
17 #pragma omp cancel parallel
31 #pragma omp cancellation point parallel
35 if (omp_get_cancellation ())
43 int i
, j
, x
[32] = { 0, 1, 2, 4, 2, 2, 1, 0 };
45 for (i
= 0; i
< 32; i
++)
47 for (j
= 0; j
< 32; j
++)