Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/libgomp/testsuite/libgomp.fortran/task-detach-11.f90
2023-03-06 14:48:14 +01:00

13 lines
272 B
Fortran

! { dg-do run }
! Test the detach clause when the task is undeferred.
program task_detach_11
use omp_lib
integer (kind=omp_event_handle_kind) :: detach_event
!$omp task detach (detach_event)
call omp_fulfill_event (detach_event)
!$omp end task
end program