1 !RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=45 -Werror
4 !WARNING: 'variable-category' modifier is required
5 !$omp target defaultmap(tofrom)
10 !WARNING: AGGREGATE is not allowed in OpenMP v4.5, try -fopenmp-version=50
11 !$omp target defaultmap(tofrom:aggregate)
16 !WARNING: FROM is not allowed in OpenMP v4.5, try -fopenmp-version=50
17 !$omp target defaultmap(from:scalar)
22 !WARNING: ALL is not allowed in OpenMP v4.5, try -fopenmp-version=52
23 !$omp target defaultmap(tofrom:all)
28 !WARNING: FROM is not allowed in OpenMP v4.5, try -fopenmp-version=50
29 !WARNING: POINTER is not allowed in OpenMP v4.5, try -fopenmp-version=50
30 !$omp target defaultmap(from:pointer)