Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/cancel-do-1.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-set-target-env-var OMP_CANCELLATION "true" } use omp_lib integer :: i !$omp parallel num_threads(32) !$omp do do i = 0, 999 !$omp cancel do if (omp_get_cancellation ()) stop 1 enddo !$omp endparallel end