mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 00:44:51 +08:00
11 lines
212 B
Fortran
11 lines
212 B
Fortran
|
! { dg-do run }
|
||
|
! { dg-set-target-env-var OMP_CANCELLATION "true" }
|
||
|
|
||
|
use omp_lib
|
||
|
|
||
|
!$omp parallel num_threads(32)
|
||
|
!$omp cancel parallel
|
||
|
if (omp_get_cancellation ()) call abort
|
||
|
!$omp end parallel
|
||
|
end
|