10 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=452 3subroutine f00(x)4 integer :: x(10)5!ERROR: AFFINITY clause is not allowed on directive TASK in OpenMP v4.5, try -fopenmp-version=506!$omp task affinity(x)7 x = x + 18!$omp end task9end10