mirror of
https://github.com/autc04/Retro68.git
synced 2024-08-19 03:29:10 +00:00
16 lines
268 B
Fortran
16 lines
268 B
Fortran
! { dg-do run }
|
|
! { dg-additional-sources declare-target-2.f90 }
|
|
|
|
module declare_target_1_mod
|
|
integer :: var_x
|
|
!$omp declare target(var_x)
|
|
end module declare_target_1_mod
|
|
|
|
interface
|
|
subroutine foo ()
|
|
end subroutine foo
|
|
end interface
|
|
|
|
call foo ()
|
|
end
|