☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
contained.f90
☽
☼
gcc/testsuite/gfortran.fortran-torture/execute/contained.f90
code
plain
raw
1
program contained
2
implicit none
3
integer i
4
5
i = 0;
6
call testproc (40)
7
if (i .ne. 42) STOP 1
8
contains
9
subroutine testproc (p)
10
implicit none
11
integer p
12
13
if (p .ne. 40) STOP 2
14
i = p + 2
15
end subroutine
16
end program