Debian Codegraph @

Tests/FortranModules/Submodules/obfuscated_parent.f90

raw
1 ! This module has two procedures from the "parent" module
2 ! but it has different combinations 'module <word>' phrases
3 ! in broken lines for test of modules dependencies detection
4
5 ! Module declaration on broken line with reminder
6 module &
7 obfuscated_parent; implicit none
8
9 interface
10
11 ! Boolean module function
12 module logical &
13 function child_function_obf() result(child_stuff)
14 end function
15
16 ! Module subroutine
17 module subroutine &
18 grandchild_subroutine_obf()
19 end subroutine
20
21 end interface
22
23 contains
24
25 module logical function child_function_obf() result(child_stuff)
26 child_stuff=.true.
27 end function
28
29 module subroutine grandchild_subroutine_obf()
30 print *,"Test passed."
31 end subroutine
32
33 end module obfuscated_parent