test also F90 module and include path
This commit is contained in:
@ -1 +1 @@
|
||||
add_executable(example example.f90)
|
||||
add_executable(example example.f90 module.f90)
|
||||
|
@ -1,4 +1,5 @@
|
||||
program example
|
||||
use foo, only: hello
|
||||
implicit none
|
||||
print *, 'Hello World!'
|
||||
call hello()
|
||||
end program
|
||||
|
7
test/fc/src/module.f90
Normal file
7
test/fc/src/module.f90
Normal file
@ -0,0 +1,7 @@
|
||||
module foo
|
||||
implicit none
|
||||
contains
|
||||
subroutine hello()
|
||||
print *, 'Hello World!'
|
||||
end subroutine
|
||||
end module
|
Reference in New Issue
Block a user