test also F90 module and include path

This commit is contained in:
Radovan Bast
2015-08-01 10:41:06 +02:00
parent 924fa706d5
commit 1ee3961c88
3 changed files with 10 additions and 2 deletions

View File

@ -1 +1 @@
add_executable(example example.f90) add_executable(example example.f90 module.f90)

View File

@ -1,4 +1,5 @@
program example program example
use foo, only: hello
implicit none implicit none
print *, 'Hello World!' call hello()
end program end program

7
test/fc/src/module.f90 Normal file
View File

@ -0,0 +1,7 @@
module foo
implicit none
contains
subroutine hello()
print *, 'Hello World!'
end subroutine
end module