aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran/reverse-offload-1-aux.f90
blob: 1807f063d5ae9c0fb4a4105d057c3ed87535895b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do compile { target skip-all-targets } }

! Declare the following function in a separare translation unit
! to ensure it won't have a device version.


integer function add_3 (x)
  implicit none
  integer, value :: x

  add_3 = x + 3
end function