blob: c9a9a2fd61af041c64521bcd95610348678c1176 [file] [log] [blame]
program Hello
integer :: i = 3
call Sub(i + 1)
print *, "The integer is ", i
contains
subroutine Sub(i)
x = i
print *, x
end subroutine Sub
subroutine SomeSub(y,z)
x = y + z
y = 22
z = y + z
print *, x
end subroutine SomeSub
end program