Debian Codegraph @

test cases/fortran/4 self dependency/selfdep.f90

raw
1 MODULE geom
2
3 type :: circle
4 REAL :: Pi = 4.*atan(1.)
5 REAL :: radius
6 end type circle
7 END MODULE geom
8
9 PROGRAM prog
10
11 use geom, only : circle
12 IMPLICIT NONE
13
14 type(circle) :: ell
15
16 ell%radius = 3.
17
18 END PROGRAM prog