diff options
Diffstat (limited to 'Tests/FortranModules/External')
-rw-r--r-- | Tests/FortranModules/External/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/FortranModules/External/a.f90 | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FortranModules/External/CMakeLists.txt b/Tests/FortranModules/External/CMakeLists.txt new file mode 100644 index 0000000..c90a0ffb --- /dev/null +++ b/Tests/FortranModules/External/CMakeLists.txt @@ -0,0 +1,3 @@ +project(ExtFort Fortran) + +add_library(myext a.f90) diff --git a/Tests/FortranModules/External/a.f90 b/Tests/FortranModules/External/a.f90 new file mode 100644 index 0000000..2be73c5 --- /dev/null +++ b/Tests/FortranModules/External/a.f90 @@ -0,0 +1,7 @@ +MODULE externalMod +! +CONTAINS + SUBROUTINE printExtModGreeting + WRITE(*,*) "Greetings from Module externalMod" + END SUBROUTINE +END MODULE |