blob: 2a6ef0081996c3c6119e9eb06b2c428e0ca02cbc [file] [edit]
! RUN: %python %S/../test_errors.py %s %flang -fopenmp
! Test declare simd with linear clause does not cause an implicit declaration of i
module mod
contains
subroutine test(i)
!$omp declare simd linear(i:1)
implicit none
integer*8 i
i=i+2
end subroutine
end module