19 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=512 3subroutine f01(x)4 integer :: x(10)5!ERROR: 'iterator' modifier cannot occur multiple times6 !$omp target update from(iterator(i = 1:5), iterator(j = 1:5): x(i + j))7end8 9subroutine f03(x)10 integer :: x(10)11!ERROR: 'expectation' modifier cannot occur multiple times12 !$omp target update from(present, present: x)13end14 15subroutine f0416!ERROR: 'f04' must be a variable17 !$omp target update from(f04)18end19