parent
c389f7cdc7
commit
809a5938ff
5 changed files with 28 additions and 3 deletions
@ -0,0 +1,6 @@ |
||||
project('mod_name_case', 'fortran') |
||||
|
||||
sources = ['test.f90', 'mod1.f90', 'mod2.f90'] |
||||
|
||||
exe = executable('mod_name_case', sources) |
||||
test('mod_name_case', exe) |
@ -0,0 +1,6 @@ |
||||
module MyMod1 |
||||
implicit none |
||||
|
||||
integer, parameter :: myModVal1 = 1 |
||||
|
||||
end module MyMod1 |
@ -0,0 +1,6 @@ |
||||
module mymod2 |
||||
implicit none |
||||
|
||||
integer, parameter :: myModVal2 = 2 |
||||
|
||||
end module mymod2 |
@ -0,0 +1,7 @@ |
||||
program test |
||||
use mymod1 |
||||
use MyMod2 |
||||
|
||||
integer, parameter :: testVar = myModVal1 + myModVal2 |
||||
|
||||
end program test |
Loading…
Reference in new issue