13 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=522 3subroutine foo()4 integer :: x, i5 x = 16!ERROR: 'CONDITIONAL' modifier on lastprivate clause with TASKLOOP directive is not allowed7 !$omp taskloop lastprivate(conditional: x)8 do i = 1, 1009 x = x + 110 enddo11 !$omp end taskloop12end13