-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: more complex submodule dependencies.
- Loading branch information
Showing
7 changed files
with
35 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
submodule (mo_test_submodule:smo_test_submodule) smo_smo_test_submodule | ||
implicit none | ||
contains | ||
module function print_hello_function() | ||
integer :: print_hello_function | ||
print_hello_function = res | ||
print *, "Hello from submodule test (submodule of submodule)." | ||
end function print_hello_function | ||
end submodule smo_smo_test_submodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
submodule (mo_test_submodule) smo_test_submodule | ||
implicit none | ||
|
||
integer, parameter :: res = 0 | ||
|
||
contains | ||
module subroutine print_hello_subroutine() | ||
print *, "Hello from submodule test (parentless submodule)." | ||
end subroutine print_hello_subroutine | ||
end submodule smo_test_submodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
submodule (mo_test_submodule) smo_test_submodule2 | ||
implicit none | ||
contains | ||
integer module function print_hello_function2() | ||
print_hello_function2 = 0 | ||
print *, "Hello from submodule test (parentless submodule 2)." | ||
end function print_hello_function2 | ||
end submodule smo_test_submodule2 |