14 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=512 3subroutine f044 integer :: obj5!ERROR: An UPDATE clause on a DEPOBJ construct must not have SINK, SOURCE or DEPOBJ as dependence type6 !$omp depobj(obj) update(source)7end8 9subroutine f0510 integer :: obj11!ERROR: An UPDATE clause on a DEPOBJ construct must not have SINK, SOURCE or DEPOBJ as dependence type12 !$omp depobj(obj) update(depobj)13end14