2014-09-21 17:33:12 +00:00
|
|
|
! { dg-do run }
|
|
|
|
! { dg-set-target-env-var OMP_CANCELLATION "true" }
|
|
|
|
|
|
|
|
use omp_lib
|
|
|
|
|
|
|
|
!$omp parallel num_threads(32)
|
|
|
|
!$omp cancel parallel
|
2018-12-28 15:30:48 +00:00
|
|
|
if (omp_get_cancellation ()) STOP 1
|
2014-09-21 17:33:12 +00:00
|
|
|
!$omp end parallel
|
|
|
|
end
|