File: test_import.f90

package info (click to toggle)
fortran-language-server 3.2.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,268 kB
  • sloc: python: 9,688; f90: 1,195; fortran: 30; makefile: 28; ansic: 20
file content (19 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module mymod
   implicit none
   private
   public mytype, mytype2
   integer, public :: int1, int2, int3, int4, int5
   type :: mytype
      integer :: comp
   end type mytype
   type :: mytype2
      integer :: comp
   end type mytype2
   interface
      subroutine sub()
         import int1
         import mytype, int2
         type(mytype) :: some
      end subroutine sub
   end interface
end module mymod