1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
5 !ERROR: At least one motion-clause (TO/FROM) must be specified on TARGET UPDATE construct.
8 !ERROR: At least one motion-clause (TO/FROM) must be specified on TARGET UPDATE construct.
9 !$omp target update nowait
11 !$omp target update to(x) nowait
13 !ERROR: At most one NOWAIT clause can appear on the TARGET UPDATE directive
14 !$omp target update to(x) nowait nowait
16 !ERROR: A list item ('x') can only appear in a TO or FROM clause, but not in both.
17 !BECAUSE: 'x' appears in the TO clause.
18 !BECAUSE: 'x' appears in the FROM clause.
19 !$omp target update to(x) from(x)