| 1 | module transformation_module_hoist_inline |
| 2 | USE subroutines_inline_mod, only: kernel1, kernel2 |
| 3 | implicit none |
| 4 | integer, parameter :: len = 3 |
| 5 | contains |
| 6 | |
| 7 | subroutine inline_driver(a, b, c) |
| 8 | integer, intent(in) :: a |
| 9 | integer, intent(inout) :: b(a) |
| 10 | integer, intent(inout) :: c(a, len) |
| 11 | real :: x, y |
| 12 | call kernel1(a, b, c) |
| 13 | call kernel2(a, b) |
| 14 | call kernel1(a, b, c) |
| 15 | end subroutine inline_driver |
| 16 | |
| 17 | end module transformation_module_hoist_inline |
| 18 |