blob: 80cdad90cec56de2226979fa0c9b0f9dfa39c7c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
! Check that intent(in out) translates as intent(inout).
! The separation seems to be a common usage.
subroutine foo(x)
implicit none
real(4), intent(in out) :: x
dimension x(3)
x(1) = x(1) + x(2) + x(3)
return
end
|