aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/requires-self-maps-aux.f90
blob: 86cb1472b371dcea6a01e0794c952c2e2db45827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
! { dg-do compile  { target skip-all-targets } }

! used by requires-self-maps.f90

module m2
  implicit none
contains
  integer function g()
    !$omp target map(from:g)
       g = 99
    !$omp end target
  end
end

program main
  use m
  use m2
end