Skip to main content
summaryrefslogtreecommitdiffstats
blob: 61a51df75f4c4ba2d7f756100ee25d1245826ac0 (plain) (blame)
1
2
3
4
5
6
7
program basicpointer ! Tests that pointers can be passed as a parameter.

end program basicpointer
subroutine sub(y,z) !<<<<< 4, 1, 4, 5, integer; intent(in); pointer :: y, 0, null, pass
    integer, intent(in), pointer :: y
    integer, intent(in) :: z
end subroutine

Back to the top