1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp -Werror
3 ! Check for deprecation of master directive and its combined/composite variants
5 subroutine test_master()
7 !WARNING: OpenMP directive MASTER has been deprecated, please use MASKED instead.
13 subroutine test_parallel_master
15 !WARNING: OpenMP directive PARALLEL MASTER has been deprecated, please use PARALLEL MASKED instead.
18 !$omp end parallel master
21 subroutine test_master_taskloop_simd()
23 !WARNING: OpenMP directive MASTER TASKLOOP SIMD has been deprecated, please use MASKED TASKLOOP SIMD instead.
24 !$omp master taskloop simd
28 !$omp end master taskloop simd
31 subroutine test_master_taskloop
33 !WARNING: OpenMP directive MASTER TASKLOOP has been deprecated, please use MASKED TASKLOOP instead.
38 !$omp end master taskloop
41 subroutine test_parallel_master_taskloop_simd
43 !WARNING: OpenMP directive PARALLEL MASTER TASKLOOP SIMD has been deprecated, please use PARALLEL_MASKED TASKLOOP SIMD instead.
44 !$omp parallel master taskloop simd
48 !$omp end parallel master taskloop simd
51 subroutine test_parallel_master_taskloop
53 !WARNING: OpenMP directive PARALLEL MASTER TASKLOOP has been deprecated, please use PARALLEL MASKED TASKLOOP instead.
54 !$omp parallel master taskloop
58 !$omp end parallel master taskloop