You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
528 B
23 lines
528 B
module parent
|
|
implicit none
|
|
|
|
interface
|
|
|
|
! Test Fortran 2008 "module function" syntax
|
|
module function child_function() result(child_stuff)
|
|
logical :: child_stuff
|
|
end function
|
|
module function sibling_function() result(sibling_stuff)
|
|
logical :: sibling_stuff
|
|
end function
|
|
|
|
! Test Fortran 2008 "module subroutine" syntax
|
|
module subroutine grandchild_subroutine()
|
|
end subroutine
|
|
module subroutine GreatGrandChild_subroutine()
|
|
end subroutine
|
|
|
|
end interface
|
|
|
|
end module parent
|