view libgomp/testsuite/libgomp.fortran/declare-target-1.f90 @ 155:da32f4b04d38

fix __code name conflict
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 17:51:46 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { 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