1 !RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=45
5 !ERROR: Reference to x must be a contiguous object
6 !$omp target update from(x(1:10:2))
11 !WARNING: Iterator modifiers are not supported in OpenMP v4.5, try -fopenmp-version=51
12 !$omp target update from(iterator(i = 1:5): x(i))
17 !WARNING: The PRESENT modifier is not supported in OpenMP v4.5, try -fopenmp-version=51
18 !WARNING: Iterator modifiers are not supported in OpenMP v4.5, try -fopenmp-version=51
19 !$omp target update from(present, iterator(i = 1:5): x(i))
24 !WARNING: The PRESENT modifier is not supported in OpenMP v4.5, try -fopenmp-version=51
25 !ERROR: Only one PRESENT modifier is allowed
26 !$omp target update from(present, present: x)
30 !ERROR: 'f04' must be a variable
31 !$omp target update from(f04)