codekingpro/portable-devtools
114k
1! Check that intent(in out) translates as intent(inout).
2! The separation seems to be a common usage.
3 subroutine foo(x)
4 implicit none
5 real(4), intent(in out) :: x
6 dimension x(3)
7 x(1) = x(1) + x(2) + x(3)
8 return
9 end
10 