2 // { dg-set-target-env-var OMP_CANCELLATION "true" }
5 #include "cancel-test.h"
12 #pragma omp parallel num_threads (32)
16 #pragma omp for private (b) firstprivate (c)
17 for (i = 0; i < 1000; ++i)
20 #pragma omp cancel for
21 if (omp_get_cancellation ())