plugins: plugin loader redesign
[geany-mirror.git] / tests / ctags / forall_module.f90
blobe19f409f2f3809c59a504770270de8f05af20d41
1 ! a module that uses a forall block
3 module with_forall
5 real :: a
7 contains
9 subroutine sub_with_forall(x)
10 real, intent(inout) :: x(:)
12 integer :: i
14 forall(i=1:size(x))
15 x(i) = 0.5**i
16 end forall
17 end subroutine sub_with_forall
20 function two() result(res)
21 real :: res
23 res = 2.0
24 end function two
26 end module with_forall