| 1 |
! { dg-do compile { target skip-all-targets } } |
| 2 |
|
| 3 |
! Declare the following function in a separare translation unit |
| 4 |
! to ensure it won't have a device version. |
| 5 |
|
| 6 |
|
| 7 |
integer function add_3 (x) |
| 8 |
implicit none |
| 9 |
integer, value :: x |
| 10 |
|
| 11 |
add_3 = x + 3 |
| 12 |
end function |