1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
subroutine g
x = y
x = 2*y
end subroutine
subroutine g
x = y
x = 2*y
end subroutine
subroutine g
x = y
x = 2*y
end subroutine
subroutine g
x = y
;;;;;; ; ; ;
x = 2*y
end subroutine
subroutine g
x = y;
x = 2*y;
end subroutine
subroutine g
x = y; ;
x = 2*y;; ;
end subroutine
subroutine g; x = y; x = 2*y; end subroutine
subroutine f
subroutine = y
x = 2*subroutine
end subroutine
subroutine f
integer :: x
end subroutine
subroutine f()
integer :: x
end subroutine
subroutine f(a, b, c, d)
integer, intent(in) :: a, b
integer, intent ( in ) :: c, d
integer :: z
integer::y
end subroutine
subroutine f(a, b, c, d)
integer, intent(out) :: a, b
integer, intent(in out) :: c, d
integer :: z
integer::y
end subroutine
subroutine saxpy(n, a, x, y)
real(dp), intent(in) :: x(:), a
real(dp), intent(inout) :: y(:)
integer, intent(in) :: n
integer :: i
do i = 1, n
y(i) = a*x(i)+y(i)
enddo
end subroutine saxpy
|