13 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang -fopenacc2integer function square(x)3 implicit none4 integer, intent(in) :: x5!ERROR: logical expression or object list expected6 !$acc parallel self(,)7 !$acc end parallel8!ERROR: logical expression or object list expected9 !$acc parallel self(.true., )10 !$acc end parallel11 square = x * x12end function square13