[LLVM] Fix Maintainers.md formatting (NFC)
[llvm-project.git] / flang / test / Semantics / OpenMP / to-clause-v51.f90
blobd4f5f15efeb9730e4789bec8d22ae92b75f76dc3
1 !RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=51
3 subroutine f01(x)
4 integer :: x(10)
5 !ERROR: Only one iterator-modifier is allowed
6 !$omp target update to(iterator(i = 1:5), iterator(j = 1:5): x(i + j))
7 end
9 subroutine f03(x)
10 integer :: x(10)
11 !ERROR: Only one PRESENT modifier is allowed
12 !$omp target update to(present, present: x)
13 end
15 subroutine f04
16 !ERROR: 'f04' must be a variable
17 !$omp target update to(f04)
18 end