mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-22 05:37:44 +01:00
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37371 a95241bf-73f2-0310-859d-f6bbb57e9c96
17 lines
552 B
Fortran
17 lines
552 B
Fortran
! { dg-do run }
|
|
|
|
program lib4
|
|
use omp_lib
|
|
integer (omp_sched_kind) :: kind
|
|
integer :: modifier
|
|
call omp_set_schedule (omp_sched_static, 32)
|
|
call omp_get_schedule (kind, modifier)
|
|
if (kind.ne.omp_sched_static.or.modifier.ne.32) call abort
|
|
call omp_set_schedule (omp_sched_dynamic, 4)
|
|
call omp_get_schedule (kind, modifier)
|
|
if (kind.ne.omp_sched_dynamic.or.modifier.ne.4) call abort
|
|
if (omp_get_thread_limit ().lt.0) call abort
|
|
call omp_set_max_active_levels (6)
|
|
if (omp_get_max_active_levels ().ne.6) call abort
|
|
end program lib4
|