repo.or.cz
/
geany-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
plugins: plugin loader redesign
[geany-mirror.git]
/
tests
/
ctags
/
forall_module.f90
blob
e19f409f2f3809c59a504770270de8f05af20d41
1
! a module that uses a forall block
2
3
module
with_forall
4
5
real
::
a
6
7
contains
8
9
subroutine
sub_with_forall
(
x
)
10
real
,
intent
(
inout
) ::
x
(:)
11
12
integer
::
i
13
14
forall
(
i
=
1
:
size
(
x
))
15
x
(
i
) =
0.5
**
i
16
end
forall
17
end subroutine
sub_with_forall
18
19
20
function
two
()
result
(
res
)
21
real
::
res
22
23
res
=
2.0
24
end function
two
25
26
end module
with_forall