2 // { dg-set-target-env-var OMP_CANCELLATION "true" }
6 #include "cancel-test.h"
12 #pragma omp parallel firstprivate(x, c) num_threads (32) private (b)
17 int thr = omp_get_thread_num ();
21 #pragma omp cancel parallel
35 #pragma omp cancellation point parallel
39 if (omp_get_cancellation ())
47 int i, j, x[32] = { 0, 1, 2, 4, 2, 2, 1, 0 };
49 for (i = 0; i < 32; i++)
51 for (j = 0; j < 32; j++)