loki/tests/sources/projBatch/module/tt_mod.F90
raw| 1 | module tt_mod |
| 2 | use header_mod, only: k |
| 3 | implicit none |
| 4 | |
| 5 | integer, parameter :: nclv = 5 |
| 6 | |
| 7 | type tt |
| 8 | real(kind=k), allocatable :: indirection(:) |
| 9 | real(kind=k) :: other(nclv) |
| 10 | contains |
| 11 | procedure :: proc |
| 12 | end type tt |
| 13 | |
| 14 | interface intf |
| 15 | module procedure proc |
| 16 | end interface |
| 17 | contains |
| 18 | subroutine proc(this) |
| 19 | class(tt), intent(inout) :: this |
| 20 | end subroutine proc |
| 21 | end module tt_mod |