File: use.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 (17 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module use_mod
integer :: val1, val2, val3
contains
end module use_mod
module use_mod_all
integer :: val4, val5
contains
end module use_mod_all

program use_main
use use_mod, only: val1, val2
use use_mod, only: val3_renamed => val3
use use_mod_all, only: val4
use use_mod_all, only: val4, val5
print*, val3_renamed
print*, val4
end program use_main