PR rtl-optimization/82913
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / procarg.f90
blob37718f5fc430d3b4735840bce066bde60c054484
1 ! Pogram to test
2 subroutine myp (a)
3 implicit none
4 integer a
6 if (a .ne. 42) call abort
7 end subroutine
9 subroutine test2 (p)
10 implicit none
11 external p
13 call p(42)
14 end subroutine
16 subroutine test (p)
17 implicit none
18 external p, test2
20 call p(42)
21 call test2(p)
22 end subroutine
24 program arrayio
25 implicit none
26 external test, myp
28 call test (myp)
29 end program