1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=52
2 ! Check OpenMP MAP clause validity. Section 5.8.3 OpenMP 5.2.
11 !ERROR: Assumed-size whole arrays may not appear on the MAP clause
18 !ERROR: Assumed-size array 'arr' must have explicit final subscript upper bound value
19 !$omp target map(arr(:))
25 !$omp target map(arr(3:5))
31 !$omp target map(tofrom: /var/)
40 !ERROR: Name 'xx' should be a mapper name
41 !$omp target map(mapper(xx), from:a)