File: main.f90

package info (click to toggle)
fortran-fpm 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,544 kB
  • sloc: f90: 53,002; sh: 759; ansic: 277; makefile: 37; cpp: 30; fortran: 8
file content (12 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
program program_with_module
#if defined(HAVE_MODULE)
  use greet_m, only: greeting
#endif  
  implicit none

#ifndef HAVE_MODULE
  print *, 'OK without module'
#else  
  print *, greeting
#endif  
end program program_with_module